RecyclePagerAdapter

Introduction: 实现 ViewPager 页卡 View 复用回收的 PagerAdapter,只要是页面构造一样,则可以使用复用回收机制,同时也支持设置不同的 viewType 来实现多种样式的页卡回收复用,套用 RecycleView 的 Adapter 实现机制。
More: Author   ReportBugs   DemoAPK   
Tags:
RecyclePagerAdapter-ViewPager-PagerAdapter-复用-回收-

介绍

ViewPager 的复用回收的 PagerAdapter 及支持 View 集合的 PagerAdapter。

使用

引用:

dependencies {
    ...
    implementation 'io.github.alexmofer.widget:pageradapter:2.0.0'
    ...
}

支持

许可

Copyright 2021 AlexMofer

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Apps
About Me
GitHub: Trinea
Facebook: Dev Tools