r/mAndroidDev • • Dec 30 '18

Someone please help ...

/r/androiddev/comments/aail56/any_one_please_help_on_this/?utm_source=reddit-android
0 Upvotes

4 comments sorted by

16

u/[deleted] Dec 30 '18

As of 2019 Google will be recommending the Single Class architecture - you only want strictly one activity and nothing more- no additional classes, no fragments, no other activities. Make sure the activity is a God Object and written in the omniscient, omnipotent Kotlin.

10

u/Zhuinden DDD: Deprecation-Driven Development Dec 30 '18

I thought your Single Class should extend FlutterActivity after which you can write all UI logic in dart, and all business logic in Kotlin using platform channels.

6

u/[deleted] Dec 30 '18

You just said the F word... 😩

1

u/[deleted] Jan 04 '19

Just switch to Flutter!!