Hysen Labs
Open-source project
lsjwzh/RecyclerViewPager avatar
lsjwzh

RecyclerViewPager

GitHub describes it as Deprecated. The repository metadata lists Java as its primary language. The metadata lists the Apache-2.0 license. This article stays within the project description and details documented in the GitHub repository README.

3,499 stars658 forksJavaApache-2.0
01
DEEP OPEN-SOURCE ANALYSIS

lsjwzh/RecyclerViewPager: Features:

GitHub describes it as Deprecated. The repository metadata lists Java as its primary language. The metadata lists the Apache-2.0 license. This article stays within the project description and details documented in the GitHub repository README.

02
DEEP OPEN-SOURCE ANALYSIS

Repository scope

GitHub describes it as Deprecated. The repository metadata lists Java as its primary language. The metadata lists the Apache-2.0 license. The README describes the project this way: 1. Base on RecyclerView. 2. Custom fling factor. 3. Custom paging trigger. 4. Support Vertical and Horizontal orientation. 5. Support FragmentViewPager (api 12+) 6. Infinite-Loop-ViewPager 7. Support TabLayout

03
DEEP OPEN-SOURCE ANALYSIS

特性:

The README section "特性:" states: 1. 扩展自RecyclerView. 2. 可自定义fling滑动速率. 3. 可自定义翻页触发条件. 4. 支持垂直ViewPager. 5. 支持Fragment (api 12+) 6. 支持无限循环 7. 支持和TabLayout配合使用

04
DEEP OPEN-SOURCE ANALYSIS

how to import?

The README section "how to import?" states: -keep class com.lsjwzh.widget.recyclerviewpager. -dontwarn com.lsjwzh.widget.recyclerviewpager.

05
DEEP OPEN-SOURCE ANALYSIS

Infinite Loop ViewPager:

The README section "Infinite Loop ViewPager:" states: You just need to use LoopRecyclerViewPager replace RecyclerViewPager . The usage of LoopRecyclerViewPager is the same as RecyclerViewPager . No matter what you specify position you want to scroll, LoopRecyclerViewPager will transform it to right position. Ex:In a LoopRecyclerViewPager with 10 items, scrollToPosition(1) will get same scroll behavior as scrollToPosition(11) 、 scrollToPosition(21) and so on.

06
DEEP OPEN-SOURCE ANALYSIS

Editorial conclusion

The repository README is the source for this review. It does not replace a local installation or an independent test.

07
DEEP OPEN-SOURCE ANALYSIS

Official sources

08
Community notes

Community notes