I Wrote an App Without Layouts, Fragments, or Activities - Adam Erb

preview_player
Показать описание
Describes the challenge of building an app from scratch, that had unique requirements: regular realtime updates, non-negotiable designs, animation-heavy, and very custom. In the end, Adam describes the unconventional way he built the Android app: zero XML, no high-level layouts (almost ViewGroups only), no Fragments, single Activity, and manual back-stack management.
Рекомендации по теме
Комментарии
Автор

This is also the way the Uber apps are built (I work there). This affords tremendous productivity to the hundred of engineers working on thousands of screens. It also allows architectural parity with iOS. It is high time we dump those leaky abominations called Activity and Fragment, spawns of tight coupling and loose cohesion, the god-objects of bad API design

GeorgievOrlin
Автор

This is very interesting. Could please share sample of this on GitHub.

gopaljadhav
Автор

hi, can you please say how you would handle permissions and activity result with this approach and also where can we see the code? thanks

alxizr
Автор

How long would you say it took to write this app?

jehandadkamal