JetradarMobile / Desertplaceholder
Licence: apache-2.0
Animated placeholder in desert style.
Stars: ✭ 725
Programming Languages
java
68154 projects - #9 most used programming language
Projects that are alternatives of or similar to Desertplaceholder
Django Front
Django-front is a front-end editing Django application
Stars: ✭ 257 (-64.55%)
Mutual labels: placeholder
React Hold
🌵Automatically show a well-fitting placeholder for dumb component while its content is loading
Stars: ✭ 351 (-51.59%)
Mutual labels: placeholder
React Native Shimmer Placeholder
Placeholder/ Skeleton of React Native
Stars: ✭ 679 (-6.34%)
Mutual labels: placeholder
Skeletonui
☠️ Elegant skeleton loading animation in SwiftUI and Combine
Stars: ✭ 275 (-62.07%)
Mutual labels: placeholder
Wlemptystate
WLEmptyState is an iOS based component that lets you customize the view when the dataset of a UITableView or a UICollectionView is empty. We created a sample project with the WLEmptyState component to show how you can use it.
Stars: ✭ 305 (-57.93%)
Mutual labels: placeholder
React Native Blurhash
🖼️ A library to show colorful blurry placeholders while your content loads.
Stars: ✭ 430 (-40.69%)
Mutual labels: placeholder
quill-placeholder-module
A quill module for adding placeholders
Stars: ✭ 27 (-96.28%)
Mutual labels: placeholder
Uiimageview Letters
UIImageView category for using initials as a placeholder image, written in Objective-C. For a Swift implementation, see https://github.com/bachonk/InitialsImageView
Stars: ✭ 694 (-4.28%)
Mutual labels: placeholder
Skeleton
A library provides an easy way to show skeleton loading view like Facebook and Alipay
Stars: ✭ 3,368 (+364.55%)
Mutual labels: placeholder
Listplaceholder
ListPlaceholder is a swift library allows you to easily add facebook style animated loading placeholder to your tableviews or collection views.
Stars: ✭ 511 (-29.52%)
Mutual labels: placeholder
React Spectrum
Generate colorful text placeholders 🎨
Stars: ✭ 289 (-60.14%)
Mutual labels: placeholder
React Image Appear
ReactJS component to make images appear with transition as they load.
Stars: ✭ 264 (-63.59%)
Mutual labels: placeholder
Growingtextview
An UITextView in Swift. Support auto growing, placeholder and length limit.
Stars: ✭ 683 (-5.79%)
Mutual labels: placeholder
Underscores.jl
Underscore placeholders for convenient closure syntax
Stars: ✭ 65 (-91.03%)
Mutual labels: placeholder
React Cool Img
😎 🏞 A React <Img /> component let you handle image UX and performance as a Pro!
Stars: ✭ 356 (-50.9%)
Mutual labels: placeholder
Kmplaceholdertextview
A UITextView subclass that adds support for multiline placeholder written in Swift.
Stars: ✭ 696 (-4%)
Mutual labels: placeholder
Fake Images Please
Fakeimg.pl is a little tool that generates images with an URL. Choose the size, the colors, even the text. Oh… and it’s free.
Stars: ✭ 683 (-5.79%)
Mutual labels: placeholder
Plaiceholder
Beautiful image placeholders, without the hassle 🖼
Stars: ✭ 474 (-34.62%)
Mutual labels: placeholder
DesertPlaceholder
Animated placeholder in desert style
Compatibility
This library is compatible from API 14 (Android 4.0).
Download
Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
Add the dependency
dependencies {
compile 'com.github.jetradarmobile.desertplaceholder:desertplaceholder:1.2.4'
}
Usage
Add view to your layout
<com.jetradar.desertplaceholder.DesertPlaceholder
android:id="@+id/placeholder"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:dp_buttonText="retry"
app:dp_message="Use this nice placeholder if you have nothing to show"/>
Set up listener to button click
DesertPlaceholder desertPlaceholder = (DesertPlaceholder) findViewById(R.id.placeholder);
desertPlaceholder.setOnButtonClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
// do stuff
}
});
Testing
@Rule
public final ActivityTestRule<MainActivity> activityRule = new ActivityTestRule<MainActivity>(MainActivity.class) {
@Override
protected void beforeActivityLaunched() {
//...
DesertPlaceholder.animationEnabled = false;
}
};
@Test
public void placeholder() {
onView(withId(R.id.placeholder))
.perform(click()) // will freeze here if animation enabled
.check(matches(isDisplayed()));
}
Credentials
Designed by Max Klimchuk.
License
Copyright 2016 JetRadar
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.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].