dukecon / dukecon_mobile

Native mobile clients for Dukecon.org conferences build with Kotlin Multiplatform
https://dukecon.github.io/dukecon_mobile
Apache License 2.0
5 stars 0 forks source link

[Android] Remove dependency on reflection #19

Open michalharakal opened 4 years ago

michalharakal commented 4 years ago

Current implementaion uses hand made solution for DI witch requires reflection library.

It makes apk big (around 8Mb) and its crossing Dex limit with 76179 methods (Reflect itself has around 12k Methods)

Reflect_dex_count
michalharakal commented 4 years ago

Koin like in KaMP project, is meanwhile MPP capable and natural on kotlin. Even better with current implementaion is an upgrade to 1.3.70 with improves KClass the way, that refelct isn't needed anymore.