app/src/main/java/fr/free/nrw/commons/category/CategoryDetailsActivity.java
public void viewPagerNotifyDataSetChanged() {
        if (mediaDetails!=null){
            mediaDetails.notifyDataSetChanged();
        }
    }
/**
     * This method is called on success of API call for Images inside a category.
     * The viewpager will notified that number of items have changed.
     */
This method is called on success of API call for Images inside a category.
The viewpager will notified that number of items have changed.
This method is called on success of API call for Images inside a category . The viewpager will notified that number of items have changed .
public void viewPagerNotifyDataSetChanged() {
        if (mediaDetails!=null){
            mediaDetails.notifyDataSetChanged();
        }
    }
public void viewPagerNotifyDataSetChanged ( ) { if ( mediaDetails != null ) { mediaDetails . notifyDataSetChanged ( ) ; } }
This method is called on success of API call for Images inside a category.
This method is called on success of API call for Images inside a category .