Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swapped navigation to Jetpack Compose Destinations #184

Merged
merged 7 commits into from
Jul 30, 2022

Conversation

rvenky125
Copy link
Contributor

I've downgraded the compose version to 1.2 in order to use the Jetpack Compose Destinations library. I've tried to make it as much scalable as possible. Let me know if I had violated the project structure or any other clean code. I'll correct and will create another pull request.

@kasem-sm
Copy link
Owner

Hi, Thank you for your contribution. Looks like you dedicated your time entirely for this. I will for sure acknowledge your contribution at my social profiles.

Also I will review this PR soon. Until then please run spotless apply command to clean ups wildcard imports.

@rvenky125
Copy link
Contributor Author

rvenky125 commented Jul 29, 2022

Thank you. I've some personal pending work to do. I'll look into the spotless evening.

@rvenky125 rvenky125 changed the title Downgraded the compose version to 1.2-rc and swapped the navigation l… Swapped navigation to Jetpack Compose Destinations Jul 29, 2022
@kasem-sm
Copy link
Owner

Btw I guess UI Tests needs to be rewritten na?

@rvenky125
Copy link
Contributor Author

Btw I guess UI Tests needs to be rewritten na?

I think, Yes, but now it's easy to write them. I mean we have abstraction there.

@kasem-sm
Copy link
Owner

Btw I guess UI Tests needs to be rewritten na?

I think, Yes, but now it's easy to write them. I mean we have abstraction there.

Yup. Got it. I would do that so I can also get familiar with the Compose Destination library. I would merge this PR soon!

@kasem-sm kasem-sm linked an issue Jul 30, 2022 that may be closed by this pull request
@kasem-sm kasem-sm added the enhancement New feature or request label Jul 30, 2022
@kasem-sm
Copy link
Owner

@rvenky125 Found an issue.

screen-20220730-065545.2.mp4

I'm debugging this issue too. Let me know when you find any fix.

@rvenky125
Copy link
Contributor Author

@rvenky125 Found an issue.

screen-20220730-065545.2.mp4
I'm debugging this issue too. Let me know when you find any fix.

Oh, I'll check that now

@kasem-sm
Copy link
Owner

kasem-sm commented Jul 30, 2022

@rvenky125 Found an issue.
screen-20220730-065545.2.mp4
I'm debugging this issue too. Let me know when you find any fix.

Oh, I'll check that now

I found the issue. Please refer to the pending review at top :) .

@rvenky125
Copy link
Contributor Author

@rvenky125 Found an issue.
screen-20220730-065545.2.mp4
I'm debugging this issue too. Let me know when you find any fix.

Oh, I'll check that now

I found the issue. Please refer to the pending review at top :) .

@rvenky125 Found an issue.
screen-20220730-065545.2.mp4
I'm debugging this issue too. Let me know when you find any fix.

Oh, I'll check that now

I found the issue. Please refer to the pending review at top :) .

Yeah, I fixed that and committed. Sorry, it's really a stupid thing I did.

@kasem-sm
Copy link
Owner

No issues. You did a lot of refactoring in past few days. Great and Thank You again for this hard work.

@kasem-sm
Copy link
Owner

Also there are lot of code violation when you run gradle spotlessCheck. Please run gradle spotlessApply to fix all those.

@rvenky125
Copy link
Contributor Author

rvenky125 commented Jul 30, 2022

Also there are lot of code violation when you run gradle spotlessCheck. Please run gradle spotlessApply to fix all those.

Is it? I've already run that. I just run again. I'm getting BUILD SUCCESSFUL. Can you pls check again with the latest commit?

@rvenky125
Copy link
Contributor Author

I just realized that I've changed the way of using the backhander. Do you really need it as a dependency? If yes, I'll commit by implementing it.

@rvenky125
Copy link
Contributor Author

I just realized that I've changed the way of using the backhander. Do you really need it as a dependency? If yes, I'll commit by implementing it.

I've implemented that backhander as a dep. Let me if you wanted to be in the code.

@rvenky125
Copy link
Contributor Author

No issues. You did a lot of refactoring in past few days. Great and Thank You again for this hard work.

I'm thankful to you also. I've learnt how to implement compose destinations in Multi Module arch.

@kasem-sm
Copy link
Owner

Also there are lot of code violation when you run gradle spotlessCheck. Please run gradle spotlessApply to fix all those.

Is it? I've already run that. I just run again. I'm getting BUILD SUCCESSFUL. Can you pls check again with the latest commit?

if You got Build Success, then check if there is any uncommitted files.

@kasem-sm
Copy link
Owner

I just realized that I've changed the way of using the backhander. Do you really need it as a dependency? If yes, I'll commit by implementing it.

I've implemented that backhander as a dep. Let me if you wanted to be in the code.

Can you please share the file or line number?

@kasem-sm
Copy link
Owner

Also replace the content of the file inside of .github/workflows/android_action.yml to this and push the changes so the code review process will start in Github Actions.

@rvenky125
Copy link
Contributor Author

I just realized that I've changed the way of using the backhander. Do you really need it as a dependency? If yes, I'll commit by implementing it.

I've implemented that backhander as a dep. Let me if you wanted to be in the code.

Can you please share the file or line number?

It's the HomeScreen composable. Where in previous you have backhander as function to it. But I've replaced it with direct import of BackHandler. Once check the changes in HomeScreen composable, You'll get an idea

@kasem-sm kasem-sm merged commit fae8d67 into kasem-sm:dev Jul 30, 2022
@kasem-sm
Copy link
Owner

Thank you @rvenky125 for your valuable contribution to this repository.

@rvenky125
Copy link
Contributor Author

Thank you @rvenky125 for your valuable contribution to this repository.

It's my pleasure. It's my first contribution and you liked it. It's encouraging me to do more contributions.

@kasem-sm
Copy link
Owner

Definitely. Also, Open source contributions can be added on your portfolio/resume as well and believe me, it helps a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Try out Compose Destinations library
3 participants