gurleensethi / LiteUtilities

Speed up your android development by removing boilerplate code
MIT License
397 stars 38 forks source link

Size of the Library #2

Closed therealshabi closed 7 years ago

therealshabi commented 7 years ago

It is advisable to have a library such that it has minimal impact on the App size, this library has almost 35 KB of JAR size + around 4.3MB of Dependencies JAR Size, so it is suggested to make them modular some way i.e if I want to have that Toast functionality, then I'll have to import the whole library although I have no use of RecyclerView Whatsoever so this will basically create an overhead for my app. If you get what I mean

gurleensethi commented 7 years ago

The utility files are independent of each other and every feature has its own file, so if you want only the toast functionality the go ahead and download the ToastUtils.kt file and place it into your project. Also make sure Kotlin support is enabled in your project.

therealshabi commented 7 years ago

Yes that could be a way, but that won't be a library then, that would work as a Gist or file which we have to copy in our project, ain't it?

therealshabi commented 7 years ago

Anyways good job Mr Developer, that would ease of many things 🥇 Thanks 👍

gurleensethi commented 7 years ago

This library covers API's that are used on a daily basis and are essential when developing any kind of app, so to a wider developers it will serve as is, but everyone is welcomed to just use the parts that are required.