HarlonWang / AVLoadingIndicatorView

DEPRECATED
9.75k stars 1.9k forks source link

Your apk is about 1.3m large #40

Closed Winghin2517 closed 8 years ago

Winghin2517 commented 8 years ago

Hello

I have included your library in my app, I just love the look and feel of your loading indicators. However, after including the library, I noticed a dramatic increase in the size of my app. I think the reason is that you have package all the indicators into your library so even if I only use ball pulse in my app, I'm still getting all the rest of the indicators that I don't really need. Is there a way I can extract out just the ball pulse and include that into my app as I don't need the other indicators?

4xes commented 8 years ago

No, indicators is small part of size. The library use nineoldandroids for animation and support old version Android which bigger then AVLoadingIndicatorView. You can copy implementation in your project and remove unused code and dependency of nineoldandroids.

Winghin2517 commented 8 years ago

I actually did this and it worked. Thanks!

I don't need support up to api 7 so it just made sense for me to remove nineoldandroid On 13 May 2016 10:08 AM, "Alexey Petrushin" notifications@github.com wrote:

No, indicators is small part of size. The library use nineoldandroids https://github.com/JakeWharton/NineOldAndroids for animation and support old version Android which bigger then AVLoadingIndicatorView. You can copy implementation in your project and remove unused code and dependency of nineoldandroids https://github.com/JakeWharton/NineOldAndroids.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/81813780/AVLoadingIndicatorView/issues/40#issuecomment-218978409