This is a project designed to help controlling Android MediaPlayer class. It makes it easier to use MediaPlayer ListView and RecyclerView. Also it tracks the most visible item in scrolling list. When new item in the list become the most visible, this library gives an API to track it.
3.15k
stars
747
forks
source link
method inUiThread was not working as expected #110
App was crashing with RuntimeException("this should be called in Main Thread")
due to method "inUiThread" returning false even though it is running in main thread .
After changing logic to check the main thread app is working fine.
App was crashing with RuntimeException("this should be called in Main Thread") due to method "inUiThread" returning false even though it is running in main thread . After changing logic to check the main thread app is working fine.