VideoPlayerManager icon indicating copy to clipboard operation
VideoPlayerManager copied to clipboard

The method deactivate() in VisibilityItem.java in "visibility_demo" does not work

Open chenyucheng97 opened this issue 8 years ago • 4 comments

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.

chenyucheng97 avatar Mar 13 '16 07:03 chenyucheng97

Deactivate is called when current item should be deactivated but new item is not activated. Yeah, probably not the best implementation

danylovolokh avatar Apr 24 '16 15:04 danylovolokh

@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

hamidraasti avatar Aug 22 '17 17:08 hamidraasti

@chenyucheng97 Hi. Do you find any way to solve this issue?

hamidraasti avatar Aug 22 '17 17:08 hamidraasti

We ca do our work in setActive method as we know but I love beautiful code :) and I want to deactivate method work

hamidraasti avatar Aug 22 '17 17:08 hamidraasti