Onclick on view pager in android does not work in my code -
I have implemented to see pager in my code and I have clicked on the view pager but listened to my On-click listener is not working I will post my code
viewpager.setOnClickListener (New OnListListener) {@Override Public Zero (click V) {Log.i (" *** "," ** * "); Toast. GetActivity ()," XXXX ", Toast .LENGTH_SHORT) Show ();}}); ViewPager
clicklistener . This is not working because the child of View-Pager is blocking the parent's event (i.e. ViewPager). If you are adding images to the viewpace using a pagerapetter, then click on ImageView to simplify it.
Comments
Post a Comment