omjoonkim / SkeletonLoadingView

SkeletonLoadingView(Shimmer) with Kotlin in Android💀💀

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SkeletonLoadingView

Download Android Arsenal

SkeletonLoadingView with Kotlin 💀💀

sample

Requirements

minApi 12+

Usage

	<com.omjoonkim.skeletonloadingview.SkeletonLoadingView
			android:id="@+id/skeletonView"
			android:layout_width="100dp"
			android:layout_height="12dp"
			app:baseColor="#fbfbfb" //customize baseColor  default : #fbfbfb
			app:deepColor="#f2f2f2" //customize deepColor  default : #f2f2f2
			app:duration="1500" //customize duration  default : 1500
			app:interval="1000" //customize interval of animation  default : 0
			app:progressLength="120dp" //customize progressLength  default : 120dp
			app:radius="5dp" //customize radius default : 5dp
			app:autoStart="true" //customize autoStart. default : true
			/>

Integration

add to your app build.gradle

dependencies {
implementetion  'com.omjoonkim.library:skeleton-loading-view:0.1.3'
}

Contribute

always welcome 👐 Only pull request.

About

SkeletonLoadingView(Shimmer) with Kotlin in Android💀💀

License:Apache License 2.0


Languages

Language:Kotlin 100.0%