Xtendroid icon indicating copy to clipboard operation
Xtendroid copied to clipboard

Reduce dex method count impact

Open tobykurien opened this issue 8 years ago • 5 comments

See the method count impact of the dependencies here:

http://www.methodscount.com/?lib=com.github.tobykurien%3Axtendroid%3A0.13

Main culprits are Guava (we should use the slim version), Android Support Library, and the Gson dependency recently added.

tobykurien avatar Jun 14 '16 07:06 tobykurien

I agree, this could be super annoying during development.

I hate having to use proguard during development.

The guava dependency is not added to the apk btw., it only affects the library.

Buggaboo avatar Jun 14 '16 12:06 Buggaboo

we actually are considering to stop supporting the *.slim version as it didn't seem to be used so far.

2016-06-14 14:44 GMT+02:00 Jasm Sison [email protected]:

I agree, this could be super annoying during development.

I hate having to use proguard during development.

The guava dependency is not added to the apk btw., it only affects the library.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tobykurien/Xtendroid/issues/123#issuecomment-225869268, or mute the thread https://github.com/notifications/unsubscribe/AAWv_9xipny54Ix5XDXahJYFfdxO0l6Zks5qLqISgaJpZM4I1CTC .

svenefftinge avatar Jun 14 '16 17:06 svenefftinge

@svenefftinge please continue supporting it - the dex method count is a major concern on Android, and a common compliant against Xtend is the bundled "bloated" Guava dependency.

tobykurien avatar Jun 14 '16 17:06 tobykurien

@svenefftinge although, I don't think I can use the .slim for Xtendroid anyway, since it has Active Annotations?

tobykurien avatar Jun 14 '16 18:06 tobykurien

the active annotations stuff is in a different library. the .slim stuff is only about the collection extensions and so on (xbase.lib). so that should be ok.

2016-06-14 20:10 GMT+02:00 Toby Kurien [email protected]:

@svenefftinge https://github.com/svenefftinge although, I don't think I can use the .slim for Xtendroid anyway, since it has Active Annotations?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tobykurien/Xtendroid/issues/123#issuecomment-225967301, or mute the thread https://github.com/notifications/unsubscribe/AAWv_8IeP4x0uNVKa2TtFpYg7w0s_CcIks5qLu6igaJpZM4I1CTC .

svenefftinge avatar Jun 14 '16 18:06 svenefftinge