Skip to content

Latest commit

 

History

History
54 lines (27 loc) · 1.08 KB

README.md

File metadata and controls

54 lines (27 loc) · 1.08 KB

LouisDoubanLoadingView

Douban Loading View 豆瓣 Loading 加载中...

image

image

Step 1. Add the JitPack repository to your build file Add it in your root build.gradle at the end of repositories:

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

Step 2. Add the dependency

dependencies {
        compile 'com.github.classichu:ClassicDoubanLoadingView:x.x.x'
} 

attrs

	app:smileColor="#ff669900"    
	app:smileCircleFrameHeight="6dp"  
	app:smileCircleRadius="22dp"	
	//auto start
	app:smileAutomatic="true"     
	//hold loading state ratate count   
	app:smileHoldRotateCount="2"   

code

	 mSmileLoading.startLoad();
     mSmileLoading.stopLoading();