Comcast / Comcast/blueprint

Reduce boilerplate for copy views

Open
#24 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Kotlin
Stars
21
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Lots of components are simple copy presentation, showing a title, or a single string, etc. We still have to write a lot of boilerplate for these; you need a ComponentModel extension to wrap your single String, you need a special presenter, etc. It would be nice to have an easier way to do this. Perhaps an annotation on your viewholder that indicates it is a copy view and the id of the textview for the copy; it would then generate a custom model, presenter, and static method for creating the component?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.