kandi background
Explore Kits

android-Ultra-Pull-To-Refresh | Ultra Pull to Refresh for Android. Support all the views.

 by   liaohuqiu Java Version: 1.0.11 License: MIT

 by   liaohuqiu Java Version: 1.0.11 License: MIT

Download this library from

kandi X-RAY | android-Ultra-Pull-To-Refresh Summary

android-Ultra-Pull-To-Refresh is a Java library.,roid-Ultra-Pull-To-Refresh has no vulnerabilities, it has build file available, it has a Permissive License and it has medium support. However android-Ultra-Pull-To-Refresh has 8 bugs. You can download it from GitHub, Maven.
Wanna auto-load-more? This will be what you want: https://github.com/liaohuqiu/android-cube-app.
Support
Support
Quality
Quality
Security
Security
License
License
Reuse
Reuse

kandi-support Support

  • android-Ultra-Pull-To-Refresh has a medium active ecosystem.
  • It has 9691 star(s) with 2751 fork(s). There are 445 watchers for this library.
  • It had no major release in the last 12 months.
  • There are 150 open issues and 146 have been closed. On average issues are closed in 226 days. There are 22 open pull requests and 0 closed requests.
  • It has a neutral sentiment in the developer community.
  • The latest version of android-Ultra-Pull-To-Refresh is 1.0.11
This Library - Support
Best in #Java
Average in #Java
This Library - Support
Best in #Java
Average in #Java

quality kandi Quality

  • android-Ultra-Pull-To-Refresh has 8 bugs (0 blocker, 1 critical, 2 major, 5 minor) and 194 code smells.
This Library - Quality
Best in #Java
Average in #Java
This Library - Quality
Best in #Java
Average in #Java

securitySecurity

  • android-Ultra-Pull-To-Refresh has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
  • android-Ultra-Pull-To-Refresh code analysis shows 0 unresolved vulnerabilities.
  • There are 2 security hotspots that need review.
This Library - Security
Best in #Java
Average in #Java
This Library - Security
Best in #Java
Average in #Java

license License

  • android-Ultra-Pull-To-Refresh is licensed under the MIT License. This license is Permissive.
  • Permissive licenses have the least restrictions, and you can use them in most projects.
This Library - License
Best in #Java
Average in #Java
This Library - License
Best in #Java
Average in #Java

buildReuse

  • android-Ultra-Pull-To-Refresh releases are available to install and integrate.
  • Deployable package is available in Maven.
  • Build file is available. You can build the component from source.
  • Installation instructions are not available. Examples and code snippets are available.
  • android-Ultra-Pull-To-Refresh saves you 2965 person hours of effort in developing the same functionality from scratch.
  • It has 6399 lines of code, 438 functions and 90 files.
  • It has medium code complexity. Code complexity directly impacts maintainability of the code.
This Library - Reuse
Best in #Java
Average in #Java
This Library - Reuse
Best in #Java
Average in #Java
Top functions reviewed by kandi - BETA

kandi has reviewed android-Ultra-Pull-To-Refresh and discovered the below as its top functions. This is intended to give you an instant insight into android-Ultra-Pull-To-Refresh implemented functionality, and help decide if they suit your requirements.

  • Add the item info .
  • Setup the animation for the ring .
  • Get the start points
  • Dispatches a touch event .
  • Initialize views .
  • Draw the sun .
  • Gets the last update time .
  • remove handler .
  • Override handleOnMove method .
  • Set the frame layout of the pointer

android-Ultra-Pull-To-Refresh Key Features

Ultra Pull to Refresh for Android. Support all the views.

Usage

copy iconCopydownload iconDownload
maven {
    url 'https://oss.sonatype.org/content/repositories/snapshots'
}

Or config in java code

copy iconCopydownload iconDownload
// the following are default settings
mPtrFrame.setResistance(1.7f);
mPtrFrame.setRatioOfHeaderHeightToRefresh(1.2f);
mPtrFrame.setDurationToClose(200);
mPtrFrame.setDurationToCloseHeader(1000);
// default is false
mPtrFrame.setPullToRefresh(false);
// default is true
mPtrFrame.setKeepHeaderWhenRefresh(true);

StoreHouse Style

copy iconCopydownload iconDownload
// header
final StoreHouseHeader header = new StoreHouseHeader(getContext());
header.setPadding(0, LocalDisplay.dp2px(15), 0, 0);

/**
 * using a string, support: A-Z 0-9 - .
 * you can add more letters by {@link in.srain.cube.views.ptr.header.StoreHousePath#addChar}
 */
header.initWithString('Alibaba');

Process Refresh

copy iconCopydownload iconDownload
public interface PtrHandler {

    /**
     * Check can do refresh or not. For example the content is empty or the first child is in view.
     * <p/>
     * {@link in.srain.cube.views.ptr.PtrDefaultHandler#checkContentCanBePulledDown}
     */
    public boolean checkCanDoRefresh(final PtrFrameLayout frame, final View content, final View header);

    /**
     * When refresh begin
     *
     * @param frame
     */
    public void onRefreshBegin(final PtrFrameLayout frame);
}

Customize

copy iconCopydownload iconDownload
public interface PtrUIHandler {

    /**
     * When the content view has reached top and refresh has been completed, view will be reset.
     *
     * @param frame
     */
    public void onUIReset(PtrFrameLayout frame);

    /**
     * prepare for loading
     *
     * @param frame
     */
    public void onUIRefreshPrepare(PtrFrameLayout frame);

    /**
     * perform refreshing UI
     */
    public void onUIRefreshBegin(PtrFrameLayout frame);

    /**
     * perform UI after refresh
     */
    public void onUIRefreshComplete(PtrFrameLayout frame);

    public void onUIPositionChange(PtrFrameLayout frame, boolean isUnderTouch, byte status, int oldPosition, int currentPosition, float oldPercent, float currentPercent);
}

Community Discussions

No Community Discussions are available at this moment for android-Ultra-Pull-To-Refresh.Refer to stack overflow page for discussions.

No Community Discussions are available at this moment for android-Ultra-Pull-To-Refresh.Refer to stack overflow page for discussions.

Community Discussions, Code Snippets contain sources that include Stack Exchange Network

Vulnerabilities

No vulnerabilities reported

Install android-Ultra-Pull-To-Refresh

You can download it from GitHub, Maven.
You can use android-Ultra-Pull-To-Refresh like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the android-Ultra-Pull-To-Refresh component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

Support

Please fell free to contact me if there is any problem when using the library.

DOWNLOAD this Library from

Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
over 430 million Knowledge Items
Find more libraries
Reuse Solution Kits and Libraries Curated by Popular Use Cases

Save this library and start creating your kit

Share this Page

share link
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
over 430 million Knowledge Items
Find more libraries
Reuse Solution Kits and Libraries Curated by Popular Use Cases

Save this library and start creating your kit

  • © 2022 Open Weaver Inc.