Android App Development: Difference between revisions

 
Line 6: Line 6:
Android apps are made of Activities https://developer.android.com/reference/android/app/Activity
Android apps are made of Activities https://developer.android.com/reference/android/app/Activity


For native Android apps, there are two current approaches:
For native Android apps, there are two current approaches to building out the UI:
* Traditional Android apps are made using views were the layout is stored in an XML file and each component is a view with it's own class.
* Traditional Android apps are made using views were the layout is stored in an XML file and each component is a view with it's own class.
* Compose apps are made using Jetpack Compose. Compose components are functions similar to React functional components.
* Compose apps are made using Jetpack Compose. Compose components are functions similar to React functional components.