StereoView Android Library

repository·master·Indexed 23 days ago

https://github.com/immortalz/stereoview

An Android library extending ViewGroup that provides a 3D infinite rolling container effect. It allows any view type, such as ImageView, to be wrapped for customizable 3D animation effects for scrolling content.

Tokens
228
Snippets
0
Records
3
Agent score
32%

What's inside StereoView

  1. How to use StereoView

    master
    StereoView is an Android 3D infinite rolling container that extends ViewGroup. You can use it by adding child views (such as ImageView) to it, similar to how you would use a standard ViewGroup. For implementation details, refer to the provided demo.
  2. Troubleshoot StereoView limitations and defects

    master

    To ensure smooth animation and prevent issues, observe the following requirements:

    1. Minimum Child Count: The container must have at least three child views. Having fewer than three children may cause issues during scrolling.
    2. Start Screen Selection: When using setStartScreen(int startScreen), ensure the parameter is correct. To ensure the first or last items are properly hidden for seamless infinite scrolling, do not set the start screen to the very first (0) or very last (getChildCount() - 1) index.