You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 27, 2025. It is now read-only.
I thought of a sample app with possibly two screens: initial screen with a list of items(fed with a recyclerview adapter), and a second screen for item details.
Since we want to demonstrate a single concept in isolation in these basic samples, I guess we shouldn't be using network or database in this sample, right? Then we can use a hardcoded data source(may be your product-seller lists).
I think of using databinding exhaustively in this sample: Binding data, binding listeners, binding adapters.. A typical use case for BindingAdapter is when image is loaded with Glide. So I can add some images to items and demonstrate that. Or if you think we should exclude any external libraries, I can try to find another example for BindingAdapter. I also thought of importing a helper method to xml, just to demonstrate it. I don't know what yet.. So the idea is to demonstrate what we can do with databinding.