Vector icon indicating copy to clipboard operation
Vector copied to clipboard

Any plan to remove kotlin-reflect?

Open kaushalyap opened this issue 5 years ago • 3 comments

I see this library also uses kotlin-reflect just like MvRx, problem with kotlin-reflect is impact on apk size. MvRx have come up with a solution. Any plan to remove kotlin-reflect from Vector?

kaushalyap avatar Dec 31 '19 12:12 kaushalyap

Hi @kaushalyap! Thanks for bringing up this issue.

Yep, Vector depends on kotlin-reflect. I really want to remove it too. I'll take a look at the PR you linked and try to perform everything Vector needs using plain old java-reflection. Not promising an ETA, though.

haroldadmin avatar Dec 31 '19 12:12 haroldadmin

@haroldadmin thanks for quick response

Side question: do you consider Vector production ready?

kaushalyap avatar Dec 31 '19 14:12 kaushalyap

I use Vector in production in MoonShot, and I'm really happy with it. However, this project still hasn't hit 1.0 yet, so that should tell you where the API stability stands :)

For small apps and side projects, I'd definitely recommend at least trying it out.

haroldadmin avatar Dec 31 '19 17:12 haroldadmin