You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way to trigger an event whenever the image changes? I need to update a textview to display information related to what is currently being shown
The text was updated successfully, but these errors were encountered:
You need to add a page change listener to the carousel view.
carouselView.addOnPageChangeListener(new OnPageChangeListener() {
public void onPageScrollStateChanged(int state) {}
public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {}
public void onPageSelected(int position) {
// Check if this is the page you want.
}
});
Is there any way to trigger an event whenever the image changes? I need to update a textview to display information related to what is currently being shown
The text was updated successfully, but these errors were encountered: