android / android/architecture-samples

New Sample: todo-mvvm-live-ktx

Open
#652 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
45.8k
Forks
11.9k
PR merge metrics
No merged PRs in 30d

Description

I'd like to propose a new sample using [Kotlin Android Extension View Binding](https://kotlinlang.org/docs/tutorials/android-plugin.html). Effectively this allows us to get rid of [Data Binding](https://developer.android.com/topic/libraries/data-binding) without the overhead of `findViewById()`.

This sample is based off of the [todo-mvvm-live-kotlin](https://github.com/googlesamples/android-architecture/tree/todo-mvvm-live-kotlin/) sample. My branch can be found here: https://github.com/agodding/android-architecture/tree/todo-mvvm-live-ktx.

The diff with `todo-mvvm-live-kotlin` branch: https://github.com/googlesamples/android-architecture/compare/todo-mvvm-live-kotlin...agodding:todo-mvvm-live-ktx?expand=1

Contributor guide

Open the contributing guide

Research direction

Start by comparing the todo-mvvm-live-kotlin sample with the proposed todo-mvvm-live-ktx branch and its linked diff. Check how the sample replaces Data Binding with Kotlin Android Extension View Binding; done means the new sample is added consistently with the repository's existing sample structure.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.