Remove dependency on Glide, Picasso, SVG, and multidex. (#1859)

* Eliminate the use of Picasso.

This gets rid of the single use of the Picasso library (which was causing
the whole library to be imported and shipped) and replaces it with Glide.
TODO: replace this and the other instance(s) of Glide usage with Fresco,
or vice versa.

* Remove dependency on Glide.

This removes the dependency on Glide, as well as the SVG rendering
library, whose only purpose was to display a single SVG image in the
Notification activity. Unfortunately Android doesn't support SVG natively,
but Echo notifications have icons that are SVG formatted. Rather than
import a bunch of heavy libraries to support this single case of SVG
rendering, we can simply create a few local drawables that correspond to
the different types of notifications, and use them instead.

* Remove multidex!

Multidex is a killer of performance and should be avoided at all costs.

* Remove further unused bits.

* Remove final vestige of multidex.
This commit is contained in:
Dmitry Brant 2018-08-30 07:40:17 -04:00 committed by neslihanturan
parent a059a3c2ef
commit 2884bd934a
12 changed files with 50 additions and 211 deletions

View file

@ -39,11 +39,9 @@ We try to have an extensive documentation at [our wiki here at Github][5]:
* [Fresco][27]
* [Stetho][28]
* [Dagger][29]
* [AndroidSVG][30]
* [Java-HTTP-Fluent][31]
* [CircleProgressBar][32]
* [Glide][33]
* [Leak Canary][34]
* [Java-HTTP-Fluent][30]
* [CircleProgressBar][31]
* [Leak Canary][32]
## License ##
@ -80,8 +78,6 @@ This software is open source, licensed under the [Apache License 2.0][4].
[27]: https://github.com/facebook/fresco
[28]: https://github.com/facebook/stetho
[29]: https://github.com/google/dagger
[30]: https://github.com/BigBadaboom/androidsvg
[31]: https://github.com/yuvipanda/java-http-fluent/blob/master/src/main/java/in/yuvi/http/fluent/Http.java
[32]: https://github.com/dinuscxj/CircleProgressBar
[33]: https://github.com/bumptech/glide
[34]: https://github.com/square/leakcanary
[30]: https://github.com/yuvipanda/java-http-fluent/blob/master/src/main/java/in/yuvi/http/fluent/Http.java
[31]: https://github.com/dinuscxj/CircleProgressBar
[32]: https://github.com/square/leakcanary