CircularLayoutManager

Additional

Language
Kotlin
Version
1.0.1 (Aug 19, 2019)
Created
Aug 16, 2019
Updated
Aug 19, 2019
Owner
Ruslan Leshchenko (leshchenko)
Contributor
Ruslan Leshchenko (leshchenko)
1
Activity
Badge
Generate
Download
Source code
APK file

Commercial

CircularLayoutManager

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.