In this comprehensive Android View Binding course we will learn step by step on how to use Android View Binding like a pro. Use View Binding Inflate in an Activity; Use View Binding inflate in a Fragment; Use View Binding bind in a Fragment. (When view is already inflated); Use View Binding in a RecyclerView ViewHolder; Create a BaseFragment to reuse our code; View Biding null safety handling
Minimum requirements:
- Basic knowledge in Kotlin,
- Basic understanding of an Activity lifecycle.
- Basic understanding of a Fragment lifecycle.
Please do not hesitate to ask any questions, doubts or issues. I am here to help you and I will reply a soon as possible. or re-record or extend specific videos if was not clear enough.
Android View Binding is very generic. However I would like to propose a simple task to implement all what did you learn in this course. Let create a simple a simple login page where it displays a recycler view.
you will need to create:
- One Activity
- Two fragments:
. first fragment attached to the activity, and contains a button.
. Second where it contains a RecyclerView with hardcoded data.
- Optional:
. Create and use BaseFragment
. Create different layouts with optional views.
Check the sketch file or the png, Also I do include the project with the demo examples I did use for this course.