Skip to content
No description, website, or topics provided.
Kotlin Java
Branch: master
Clone or download
Latest commit 9180abd Aug 19, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app Update Readme Aug 19, 2019
circularlayoutmanagerlib Move lib code to Android Library module. Aug 19, 2019
gradle/wrapper Initial commit. Aug 16, 2019
.gitignore Initial commit. Aug 16, 2019
README.md Update Readme Aug 19, 2019
animation.gif Add animation. Aug 16, 2019
build.gradle Move lib code to Android Library module. Aug 19, 2019
gradle.properties Initial commit. Aug 16, 2019
gradlew Initial commit. Aug 16, 2019
gradlew.bat Initial commit. Aug 16, 2019
settings.gradle Move lib code to Android Library module. Aug 19, 2019

README.md

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.
You can’t perform that action at this time.