Maintaining the list of learnings to keep track.
- In AndroidManifest, categoryname for Intentfilter should not referencing to a string. ex : @string/app_package . Instead use ${applicationID}. If you use string, Playstore listing will throw you an error.
- Google Analytics and Fresco doesn't work together. Fresco crashes for some reason. Changed my complete implementation for loading images from Fresco to Glide. Used makerman's RoundedImageView library for styling ImageView. Used wasabeef's Glide transformations in combination with RoundedImageview for circle transformation.
- Cannot use FontAswome with MenuItems
- Minimise usage of static variables in Application class to avoid memory leaks.
- Using toolbar without including it in XML layout may not handle clicks (back, customviews in Toolbar) properly.
- Use static inner classes which will not hold context of outer class. This decreases scope of memory leaks.
Will update list on the go. Please comment if you have any thing like such
No comments:
Post a Comment