Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

您好,Viewpager的destoryItem为什么要注掉里面的代码呢?是不是有什么bug #5

Open
fumayer opened this issue Aug 21, 2021 · 1 comment

Comments

@fumayer
Copy link

fumayer commented Aug 21, 2021

No description provided.

@fumayer
Copy link
Author

fumayer commented Aug 23, 2021

public PageViewPagerAdapter(List<View> viewList) {
    this.mViewList = viewList;
    if (viewList == null) {
        mViewList = new ArrayList<>();
    }
}

@Override
public void destroyItem(@NonNull ViewGroup container, int position, @NonNull Object object) {

// container.removeView(mViewList.get(position));
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant