SkillAgentSearch skills...

FlipView

Flip View

Install / Use

/learn @VRGsoftUA/FlipView
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

HIRE US

FlipView

<img src="https://github.com/VRGsoftUA/FlipView/blob/master/ezgif.com-video-to-gif-2.gif" width="270" height="480" />

Usage

For a working implementation, Have a look at the Sample Project - sample

  1. Include the library as local library project.
allprojects {
    repositories {
        maven { url 'https://jitpack.io' }
    }
}

dependencies {
    compile 'com.github.VRGsoftUA:FlipView:1.0.1'
}
  1. You need to implement two generic interfaces: Pair and Binder. Interface Pair give view information about models for left and right parts of view. Binder - is a kind of Adapter which bind model to front view

Customization

| Method | Description | | ------------- | ------------- | | setCameraDistance(int cameraDistance) | If this value equal to 0, rotation 3D effect will be completely shown | | setCurrentPosition(int position) | Sets current position in data set provided to this view | | setCyclic(boolean cyclic) | Sets whether this view should show data set cyclically or not | | addBackInAnimListener(Animator.AnimatorListener listener) | Adds a listener to back in animator (when back side starts to show itself) | | addFrontInAnimListener(Animator.AnimatorListener listener) | Adds a listener to front in animator (when front side starts to show itself) | | setHardwareAccelerate(boolean hardwareAccelerate) | Sets whether this view should use hardware acceleration or not. |

Contributing

  • Contributions are always welcome
  • If you want a feature and can code, feel free to fork and add the change yourself and make a pull request

Related Skills

View on GitHub
GitHub Stars35
CategoryDevelopment
Updated1y ago
Forks5

Languages

Java

Security Score

60/100

Audited on Sep 2, 2024

No findings