Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/florent37/fiftyshadesof

An elegant context-care loading placeholder for Android
https://github.com/florent37/fiftyshadesof

android custom design gray grey java list loader loading material recycler shade view waiting

Last synced: 3 months ago
JSON representation

An elegant context-care loading placeholder for Android

Awesome Lists containing this project

README

        

# FiftyShadesOf

[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-FiftyShadesOf-brightgreen.svg?style=flat)](http://android-arsenal.com/details/1/4505)


Android app on Google Play

An elegant context-care loading placeholder for Android

# Usage

```java
FiftyShadesOf.with(context)
.on(view1, view2, view3)
.start();
```

[![screen](https://raw.githubusercontent.com/florent37/FiftyShadesOf/master/media/fadein.gif)](https://www.github.com/florent37/fiftyshadedof)

# Available attributes

## View Selector

```java
FiftyShadesOf.with(context)

.on(R.id.view1, R.id.view2, R.id.view3) //views id

.on(view1, view2, view3) //views references

.on(viewGroup) //group of views

.except(view1, view2) //skip a view

.start();
```

## Cross

(By Default)

```java
FiftyShadesOf.with(context)
.on(R.id.view)
.start();
```

[![screen](https://raw.githubusercontent.com/florent37/FiftyShadesOf/master/media/cross.gif)](https://www.github.com/florent37/fiftyshadedof)

## Fade

```java
FiftyShadesOf.with(context)
.on(R.id.view)
.fadeIn(true)
.start();
```

[![screen](https://raw.githubusercontent.com/florent37/FiftyShadesOf/master/media/fadein.gif)](https://www.github.com/florent37/fiftyshadedof)

# Download

Buy Me a Coffee at ko-fi.com

In your module [![Download](https://api.bintray.com/packages/florent37/maven/FiftyShadesOf/images/download.svg)](https://bintray.com/florent37/maven/FiftyShadesOf/_latestVersion)
```gradle
compile 'com.github.florent37:fiftyshadesof:1.0.0'
```

# Credits

Author: Florent Champigny

Fiches Plateau Moto : [https://www.fiches-plateau-moto.fr/](https://www.fiches-plateau-moto.fr/)


Android app on Google Play


Follow me on Google+


Follow me on Twitter


Follow me on LinkedIn

License
--------

Copyright 2016 florent37, Inc.

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.