Skip to content

tkgktyk/ReleaseAction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Release Action


Release Action User Interface for Android

This is an Android Layout Library provides Release Action after pulling view. User interface is similar to chrisbanes/Android-PullToRefresh. The mechanism to judge scroller is similar to SwipeRefreshLayout. And the implementation is based on FlyingLayout.

You just wrap a target View or Layout in ReleaseActionLayout and setup listeners and indicator views. Then it'll fire actions when you release your finger after pulling the target view.

Features

  • Supports eight directions.
    • four orthogonal directions and their combinations (diagonal).
  • Action is cancelable unlike SwipeRefreshLayout.
  • Customizable indicator view.
    • SimpleReleaseActionLayout prepares minimum indicator views.
  • Only one change your layout hierarchy: wraps a target View in ReleaseActionLayout.
  • Works with views having correctly View#canScrollHorizontally/Vertically.
    • Or make custom layout overrides ReleaseActionLayout#canChildScrollHorizontally/Vertically.
  • Example application includes:
    • ListView
    • ViewPager
    • WebView
  • Strange Features:
    • When one direction indicator appears by swipe, you can also use another direction-actions by continuous swiping like a gesture.
    • and more...

Repository at https://github.com/tkgktyk/ReleaseAction.

Introduction

See Quick Start Guide.

Get the example application in this repository on Google Play:

Get it on Google Play

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages