GithubHelp home page GithubHelp logo

widget's Introduction

widget

中文文档
The development of this control library is intended to enhance the performance and experience of Android native controls.

Effect

The overstretched effect of the top picture added is the overstretching effect of the picture imitated by IOS Appstore.

image

  • 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.

Integrate

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'

Use

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);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.