let android mediaPlayer loops differently -


i have video want loop in android, have set the

mediaplayer.setlooping(true); 

but every time when loops, want perform something, making toast showing how many times it's looped or detecting current rotation , change looping video if rotation has changed.

how can it?


Comments

Popular posts from this blog

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -