android / android/architecture-samples
On todo-databinding, remove logic from layout files and use Custom Setter
Open
enhancement
- Dominant language
- Kotlin
- Stars
- 45.8k
- Forks
- 11.9k
- PR merge metrics
- No merged PRs in 30d
Description
I read the previous discussion #72 and understand the approach, but most layout logic could be replaced with `@BindingAdapter` annotation and people could see their power, one example
``` xml
```
could be replaced with
``` xml
Contributor guide
Research direction
Start by reading the previous discussion in issue #72 and locating the existing logic in the layout files. Compare that logic with the proposed BindingAdapter examples; the work is complete only when the agreed layout behavior has been moved to custom setters with a settled scope.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100