中文文档
The development of this control library is intended to enhance the performance and experience of Android native controls.
The overstretched effect of the top picture added is the overstretching effect of the picture imitated by IOS Appstore.
- Extend RecycleView, retaining its original features
- According to the rolling item of RecycleView, it dynamically adjusts the top position of each item and scale value of head, and does not trigger requestLayout.
- Head has handled all kinds of extreme situations that have been deployed to ensure that head will not reveal only half of them.
- The fast throw motion of RecycleView is processed to ensure that the position of head can be normal when fling to head.
You need to integrate the V4 and V7 libraries, and the effect libraries here
implementation 'com.chw.android:widget:3.0.3'
implementation 'com.android.support:support-v4:27.1.1'
implementation 'com.android.support:recyclerview-v7:27.1.1'
It is very simple to use, change the RecycleView to WeRecycleView, and set the sliding mode.
mRecycleView.setScrollMode(WeRecycleView.SCROLL_SCALE_HEAD);
mRecycleView.setMaxScale(4f);