Skip to content
This repository was archived by the owner on Jun 27, 2025. It is now read-only.
This repository was archived by the owner on Jun 27, 2025. It is now read-only.

databinding sample structure #1

@OyaCanli

Description

@OyaCanli

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureThis feature needs to be implemented in a separate branch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions