Home

Awesome

LoadingDrawable: Android cool animation collection

前言    CircleRotate源码解析    Fish源码解析<br/> Android Arsenal

LoadingDrawable is some android animations implement of drawable: a library can be used in the pull-down to refresh, the placeholders of image loading and the time-consuming tasks. This project idea is from the link.<br/>

The following content show a brief overview of LoadingDrawable

Learn more about LoadingDrawable on the Wiki Home.

LoadingRenderer Style

ShapeChange

Goods

Animal

Scenery

Circle Jump

Circle Rotate

Usage

Define the LoadingView in XML and specify the LoadingRenderer style:

<app.dinus.com.loadingdrawable.LoadingView
   android:id="@+id/level_view"
   android:layout_width="0dp"
   android:layout_height="match_parent"
   android:layout_weight="1"
   android:background="#fff1c02e"
   app:loading_renderer="LevelLoadingRenderer"/>

Or specify the LoadingRenderer style in Java

***LoadingRenderer.Builder builder = new ***LoadingRenderer.Builder(context);
LoadingView.setLoadingRenderer(builder.build());

TODO

When I feel less bugs enough, I will add a gradle dependency. So I hope you will make more Suggestions or Issues.

Misc

If you like LoadingDrawable or use it, could you please:

QQ Group: 342748245

License

Copyright 2015-2019 dinus

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.