Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 509 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 509 Bytes

SliderComponent

Objective

Simple library that allow us to set up a view pager using animation

Examples

val fragmentList =
            listOf(ScreenOneSlidePageFragment(), ScreenTwoSlidePageFragment())
        val pagerAdapter = ScreenSlidePagerAdapter(supportFragmentManager, fragmentList)
        slider_view.adapter = pagerAdapter
        slider_view.applyTransformation(SLIDER_DEPTH_TRANSFORMATION)

How to use

Just clone the project and create a new module with the library.