Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/florent37/fiftyshadesof
- Owner: florent37
- License: apache-2.0
- Archived: true
- Created: 2016-08-29T16:28:42.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-07-02T11:42:59.000Z (over 4 years ago)
- Last Synced: 2024-09-25T23:05:09.633Z (3 months ago)
- Topics: android, custom, design, gray, grey, java, list, loader, loading, material, recycler, shade, view, waiting
- Language: Java
- Homepage:
- Size: 1010 KB
- Stars: 1,107
- Watchers: 31
- Forks: 147
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)
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
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/)
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 athttp://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.