All kidding aside, you build a mobile application that works 'under Android ui'. You still have screens, you still have lifecycles, and you still have state restoration. However, you can build this completely android agnostic and in a proper separated manner so weird quirks the Android framework brings (destroyed activities on orientation changes, the back stack, the FragmentManager) don't cause changes in your core logic.
View all comments
Show parent comment
12
u/nhaarman Sep 16 '18 edited Sep 16 '18
If you'd get that working, sure.
All kidding aside, you build a mobile application that works 'under Android ui'. You still have screens, you still have lifecycles, and you still have state restoration. However, you can build this completely android agnostic and in a proper separated manner so weird quirks the Android framework brings (destroyed activities on orientation changes, the back stack, the FragmentManager) don't cause changes in your core logic.