VideoPlayerManager
VideoPlayerManager copied to clipboard
The method deactivate() in VisibilityItem.java in "visibility_demo" does not work
hi, first,Thanks to your VideoPlayerManger project, it helps me a lot. But when I run your visibility_demo, the overrided method deactive() does not work.only the setActive() works. the deactive() code: @Override public void deactivate(View currentView, int position) { mItemCallback.makeToast("Deactivate View" + position);}
there is no toast, and I am a new fish in developing android,I just down't konw how to figure it.
Deactivate is called when current item should be deactivated but new item is not activated. Yeah, probably not the best implementation
@danylovolokh Hi danylo. what's your suggestion for this issue?! the method is not called even in situation you said: "Deactivate is called when current item should be deactivated but new item is not activated"
even in your sample app. just leave a Log! plz help :) Tnx
@chenyucheng97 Hi. Do you find any way to solve this issue?
We ca do our work in setActive method as we know but I love beautiful code :) and I want to deactivate method work