MENU

Fun & Interesting

Fragments with Jetpack Compose (Interoperability)

CodingWithMitch 43,561 lượt xem 4 years ago
Video Not Working? Fix It Now

The BEST android courses in the world: https://codingwithmitch.com/

This is an example of how to use Fragments with Jetpack Compose. This video is all about interoperability when it comes to jetpack compose. We use ComposeView and a pre-existing xml layout to inflate a composable. You can inflate any custom view (including a google map) as a Composable using this method.

HorizontalProgressBar: https://github.com/mitchtabian/Local-db-Cache-Retrofit-REST-API-MVVM/blob/master/app/src/main/java/com/codingwithmitch/foodrecipes/util/HorizontalDottedProgress.java

Code: https://github.com/mitchtabian/MVVMRecipeApp/tree/fragments-jetpack-compose-interoperability

Follow me:
Instagram: https://www.instagram.com/codingwithmitch
Twitter: https://twitter.com/mitch_tabian
.
.

Comment