Kaaveh / ComposeNews

A playground about best practices, using updated libraries and solutions in the Android world!
Apache License 2.0
324 stars 53 forks source link

[refactor] adaptive layout #217

Closed Kaaveh closed 1 month ago

Kaaveh commented 4 months ago

Refactor existing adaptive layouts in line with the latest update of Material3 Adaptive Layout and best practices.

Sample: https://www.youtube.com/watch?v=v6PuClhFfTc

rezazarchi commented 1 month ago

I've set up a test project using these resources: Link 1, Link 2, Link 3, and Link 4. I found it pretty straightforward to implement and think we could migrate to this architecture quickly.

However, I'm a bit concerned about its compatibility with KMP in the future. As you can see in the official KMP article, even Jetpack Navigation is still under development. This new approach is even more complex.

By the way, If you're interested in having this implementation in the project, , I'd be happy to help out!