Frank Tan

Results 10 issues of 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,...

bug

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.

bug

setEmptyView for grid view

add value
user experience

performance
best practice

Reduce the depth of the UI elements

performance
best practice

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...

add value

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.