Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 2.59 KB

README.md

File metadata and controls

49 lines (38 loc) · 2.59 KB

Android Custom Views

Build Status codecov

Android library with Custom Views and Helpers to make my life simpler written in kotlin

Getting started

Install dependencies

Add Android Custom Views into project as a Gradle compile dependency:

implementation 'com.guhungry.android:custom-views:0.0.15'

or to remove transitive dependencies use:

implementation('com.guhungry.android:custom-views:0.0.15') {
    exclude group: 'com.android.support'
    exclude group: 'org.jetbrains.kotlin'
}

Download

Components

Recycler View

Grid Spacing Item Decorator

Linear Spacing Item Decorator

Listener (Interface)

On Load More Listener (for Base Load More Adapter)

On Item Click Listener

On Page Change Listener (for RecyclerView.addOnPageChangeListener())

Recycler Adapter

Base Load More Adapter (Abstract Class)

Base Sectioned Data Adapter (Abstract Class)

View Holder

Bindable View Holder (Abstract Class)

Extensions

RecyclerView.addOnPageChangeListener()