Open dattran2346 opened 7 years ago
Thanks for your feedback !! @dattran2346 I will try databinding for ImageView, I didn't know it before. I have an issue that my app occurs some lags, and delay when scroll. I think cause of it is photo loading for ImageView. Sometime when scroll screen too fast, the app is crashed and occurs bug: OutOfMemory. I don't know to fix it. 😞
Thank you.
A brute force solution is to use add these line in AndroidManifest.xml
<application
android:largeHeap="true"
android:hardwareAccelerated="true"
If the exception is cause by the image loading library, try to use: Glide.with(context).load(url).resize(..), that may help :)
Good to see
Thing to improve
Actually the Retrofit library also use Gson to parse API Response
Final world