Talk about problem/solution, focusing on a modern UI/UX concept where list view contains various type of content, and each of them need to response to the User behaviour.
content, including Text, Video, Gif, Image, … ◦ Eg: Facebook frontpage, Twitter timeline, Instagram, etc • Responsive to User’s scroll ◦ Auto playback start/pause, animation, etc. → Want to create one? the problems: ◦ 1. No obvious/official solution. ◦ 2. Existing solutions may not so easy to use. ◦ 3. Existing solutions may not well respect the Lifecycle.
one • Existing solutions are not easy to use → Create one easy to use ◦ Easy to use = less effort to integrate, maintain, scale, test . • Existing solutions do not respect the Lifecycle → Create one that does ◦ Respect the Lifecycle = ? → TBD ◦ Lifecycle is not everything → Respect the Lifecycle on Demand (Customizable)
◆ Responsive to User scroll, auto start/pause. ➔ ✅ Respect stuff on demand ◆ Respect to the Lifecycle, respect to UI change, etc ➔ ✅ Easy to use ◆ Easy as write an xml + a Custom ViewHolder. ◆ Complicated setup is backed by a rich feature Demo App (= Copy/Paste ready). ◆ Advanced usage ready (also Copy/Paste ready by Demo App) ➔ ❎ Testable → Not yet ◆ 4.x+ or maybe 5.x+ ...