Frank Tan
Frank Tan
12-21 23:10:15.225 10985-15765/com.franktan.popularmovies E/SQLiteLog: (284) automatic index on trailer(movie_id) 12-21 23:10:15.872 10985-10985/com.franktan.popularmovies A/art: art/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: JNI CallVoidMethodV called with pending exception 'java.lang.IllegalStateException' thrown in void android.os.MessageQueue.nativePollOnce(long,...
Memory usage can hike to 70MB just by scrolling through the grid view. Possible memory leak. RecycleView may help to reduce memory usage as well.
setEmptyView for grid view
Reduce the depth of the UI elements
Currently the app retrieve 60 movies by popularity and 60 movies by vote average within last 6 months. The app do the retrieval every 24 hours with 4 hours flexible...
It is more efficient to get message object from a pool as opposed to create a new instance every time.
Thread priority in Java varies from 1-10, where 1 is the min priority, 5 is the normal priority and 10 is the highest priority.