Learning Android and Kotlin by making app everything.
Guarantee you will learn new skills after your 14 days quarantine time because of COVID-19.
- Basic programing skill.
- Basic Kotlin knowledge: https://blog.teamtreehouse.com/absolute-beginners-guide-kotlin
- Basic Object-oriented programming knowledge: Inheritance, Polyphomism etc.
- Patience! This is actually very important since you can't learn new things fast and keep them stick without practicing a lot.
What do you learn?
- Android project Structure.
- Layout the UI widgets in a
ConstraintLayout
using constraint properties. - Getting text from an
EditText
widget, listen to the click event of anButton
and display the entered text in aTextView
.
How the app looks like?
Additional resources
What do you learn?
- Explore some common layout classes in Android:
- LinearLayout (Vertical)
- LinearLayout (Horizontal)
- RelativeLayout
- ConstraintLayout
- FrameLayout
- TableLayout
- Explore the effects of some common properties of the layout classes:
- layout_height, layout_width: wrap_content, match_parent
- padding, margin
- gravity
- layout_gravity
How the app looks like?
Additional resources
What do you learn?
- Explore how to use some common widgets in Android:
- TextView
- Button
- Switch
- Checkbox
- RadioButton + RadioGroup
- ProgressBar
- Spinner
How the app looks like?
Additional resources
What do you learn?
- Explore
CardView
andScrollView
to create a common Android-styled user interface.
How the app looks like?
Additional resources
What do you learn?
- Explore the lifecycle of an Android Application.
How the app looks like?
Additional resources
What do you learn?
- Explore the
ListView
widget to display a listing of common items, one of the most popular user interface in mobile apps (thinking of Facebook News Feed, Twitter timeline or Instagram feed).
How the app looks like?
Additional resources
What do you learn?
- Explore how to use
RecyclerView
andRecylcerAdapter
to optimise device resources to display a long list.
How the app looks like?
Additional resources
What do you learn?
- Explore how to use
SharedPreferences
to store simple data structures.
How the app looks like?
Additional resources
What do you learn?
- Explore how to use
SQLite
to store more complex data structures and their relationships.
How the app looks like?
Additional resources
What do you learn?
- Explore how to use pure Kotlin function to fetch remote data and display it in the app.
How the app looks like?
Additional resources
What do you learn?
How the app looks like?
Additional resources
What do you learn?
How the app looks like?
- Conditionally showing the
LoginFragment
or theProfileFragment
in theMainActivity
- Navigation from the ProfileFragment to LogoutFragment which has a logout button.
- Logged-In state is saved in SharedPreferences after logging in
- After logging out, users are redirected to the LoginFragment again.
Additional resources
What do you learn?
How the app looks like?
Additional resources
What do you learn?
- Navigation Drawer: List, Favorite
- Persistent using
SharedPreferences
- Infinite scrolling with
RecyclerView
&RecyclerAdapter
- Using
Volley
to make network request.
How the app looks like?
Additional resources