GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - dinuscxj/PullZoomRecyclerView: A pull to zoom-in RecyclerView for android

BranchesTags
Open more actions menu

Latest commit

 

History

34 Commits
34 Commits

Folders and files

NameName
Last commit message
Last commit date
Preview
Preview
 
 
app
app
 
 
gradle/wrapper
gradle/wrapper
 
 
pullzoomrecyclerview
pullzoomrecyclerview
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

PullZoomRecyclerView

Android Arsenal

Using RecyclerView requires three steps:

  • Step one: use the PullZoomRecyclerView in XML
  • Step two: call the function setAdapter and the function setLayoutManager
  • Step three: call the function setZoomView and the function setHeaderContainer

Features

  • Two Pull Zoom mode (ZOOM_FOOTER or ZOOM_HEADER)
  • Listening pull process (including pullStart、 pullZooming, pullEnd)
  • You can reset the default smooth scroll to top interpolator(the default is DecelerateInterpolator)

Precautions

  1. Please make sure PullZoomRecyclerView is the root layout, or the parent of the PullZoomRecyclerView not intercept the touch event.
  2. Please ensure the Ancestor of the ZoomView support zoom, means that the Ancestor of the ZoomView should use wrap_parent, if the Ancestor is the exact value, whatever you adjust the child, will not work well.

Usage

Add dependency

dependencies {
   compile 'com.dinuscxj:pullzoomrecyclerview:1.0.4'
}

Used in xml

<com.dinuscxj.pullzoom.PullZoomRecyclerView
   android:id="@+id/recycler_view"
   android:layout_width="match_parent"
   android:layout_height="match_parent"/>

Used in java

mPullZoomRecyclerView.setAdapter(new Adapter());
mPullZoomRecyclerView.setLayoutMannager(new LinearLayoutManager(context));
mPullZoomRecyclerView.setZoomView(zoomView);
mPullZoomRecyclerView.setHeaderContainer(headerContainer);

Thanks

PullZoomView

Misc

QQ Group: 342748245

License

Copyright 2015-2019 dinus

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.

About

A pull to zoom-in RecyclerView for android

Resources

Readme
Activity

Stars

425 stars

Watchers

17 watching

Forks

81 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.