Android/Kotlin Cheat Sheet
Home
The App Bar
Steps
1. Use a theme with no action bar
2. Create the layout
3. Set the app bar in the activity
References
Tabbed Navigation
Steps
1. Add tabs to the AppBar
2. Create the ViewPager
3. Initialise the tab view
References
Lists
Steps
1. Create a RecyclerView
2. Create the list item layout
3. Create the item adapter
4. Finally, initialize the list
Adding event listeners
References
Activities
Notifications
Basic Notifications
Action Buttons
Scheduling
Resetting on Device Restart
Authentication
Pickers
Room Database
Add dependencies to Manifest
Entity
DAO
Database
Initialization
Usage
Observing Changes
#
Android/Kotlin Cheat Sheet
A collection of code snippets for common features in Android apps.
The App Bar
→