@Override
    public boolean isViewFromObject(View view, Object object) {
        return ((Fragment) object).getView() == view;
    }
Return the Fragment associated with a specified position.
library/src/main/java/com/shizhefei/view/indicator/FragmentListPageAdapter.java