CircularLayoutManager

More: Author   ReportBugs   
Tags:

Simple in usage Recycler Layout Manager with circular item positioning.

Usage

Register configuration providers like this:

class MainActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
        circularRecycler.layoutManager = CircularRecyclerLayoutManager()
        circularRecycler.adapter = Adapter()
    }
}

Installation

  • Add this to your project level build.gradle:
    allprojects {
      repositories {
          maven { url "https://jitpack.io" }
      }
    }
    
  • Add this to your app's build.gradle:
    implementation 'com.github.leshchenko:CircularLayoutManager:1.0.1'
    
Copyright 2019 Ruslan Leshchenko (leshchenko)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Apps
About Me
Google+: Trinea trinea
GitHub: Trinea