private int getLoopIndex(int totalCount, int index) {
        if (totalCount == 0){
            return -1;
        }
        return index >= 0 ? index % totalCount : totalCount + (index + 1) % totalCount - 1;
    }
@return The layers that will be re-loaded
imitate/src/main/java/com/engineer/imitate/ui/widget/opensource/InfiniteBannerView.java