{"repo":"sparrow007/CarouselRecyclerview","free":true,"listed":false,"github":"https://github.com/sparrow007/CarouselRecyclerview","clone":"git clone https://github.com/sparrow007/CarouselRecyclerview.git","description":"Carousel Recyclerview let's you create carousel layout with the power of recyclerview by creating custom layout manager.","language":"Kotlin","stars":668,"topics":["carousel-recyclerview","carousel","reflection-imageview","carousel-layout","xml-layout","android-library","recyclerview","layoutmanager","android","layout-manager"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"Carousel Recyclerview Create carousel effect in recyclerview with the CarouselRecyclerview in a simple way. Including in your project Gradle Add below codes to your root build.gradle file (not your module build.gradle file). And add a dependency code to your module 's build.gradle file. Usage Basic Example for Kotlin Here is a basic example of implementing carousel recyclerview in koltin files (activity or fragment) with attribute. Basic Example for XML Here is a basic example of implementing carousel recyclerview in layout xml. Property infinite and 3D on Item enabled Property infinite and alpha on Item enabled :---------------: :---------------: API Methods Method Description Default --- --- --- fun set3DItem(is3DItem: Boolean) Make the view tilt according to their position, middle position does not tilt. false fun setInfinite(isInfinite: Boolean) Create the loop of the given view means there is no start or end, but provided position in the interface will be correct. false fun setFlat(isFlat: Boolean) Make the flat layout in the layout manager of the reyclerview false fun setAlpha(isAlpha: Boolean) Set the alpha for each item depends on the position in the layout manager false fun setIntervalRatio(ratio: Float) Set the interval ratio which is gap between items (views) in layout manager 0.5f (value of gap, it should in range (0.4f - 1f)) fun getCarouselLayoutManager(): CarouselLayoutManager Get the carousel layout manager instance fun getSelectedPosition(): Int Get selected ","default_branch":null,"files":null,"tree":[],"storefront":"/r/sparrow007","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sparrow007/CarouselRecyclerview/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}