All Projects → samlss → Oops

samlss / Oops

Licence: apache-2.0
😥A library for android that help to show the layout of loading, error, empty etc.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Oops

Statefulviewcontroller
Placeholder views based on content, loading, error or empty states
Stars: ✭ 2,139 (+4265.31%)
Mutual labels:  loading, error
PageStatusTransformer
A low invasive state management on Android
Stars: ✭ 12 (-75.51%)
Mutual labels:  loading, error
Loadinglayout
简单实用的页面多状态布局(content,loading,empty,error)
Stars: ✭ 712 (+1353.06%)
Mutual labels:  loading, error
Similarloadingview
A stylish loading view for Android
Stars: ✭ 26 (-46.94%)
Mutual labels:  loading
Angular Loading Feedback
Angular directive to indicate loads in app
Stars: ✭ 8 (-83.67%)
Mutual labels:  loading
Spinners
A Sass mixin to generate fully customizable, pure CSS3 loading/busy indicators
Stars: ✭ 33 (-32.65%)
Mutual labels:  loading
Vue Image Loader
Vue progressive image loader plugin like Medium
Stars: ✭ 47 (-4.08%)
Mutual labels:  loading
Vue Loadable
⏳ Improve your loading state control with pretty simple methods and helpers.
Stars: ✭ 23 (-53.06%)
Mutual labels:  loading
Jhud
A full screen of the HUD when loading the data (Objective-C).
Stars: ✭ 1,003 (+1946.94%)
Mutual labels:  loading
Errorstacks
Tiny library to parse error stack traces
Stars: ✭ 29 (-40.82%)
Mutual labels:  error
Dialogutil
common used dialog with material style ( in support v7),ios style,get top activity automatically, invoke everywhere (any thread , any window)
Stars: ✭ 948 (+1834.69%)
Mutual labels:  loading
Awloader
AWLoader is a UI Component that allows you to integrate loader that fits your needs within your app.
Stars: ✭ 11 (-77.55%)
Mutual labels:  loading
Make Error Cause
Make your own nested errors
Stars: ✭ 36 (-26.53%)
Mutual labels:  error
Create Content Loader
✏️ Tool to create your own react-content-loader easily.
Stars: ✭ 937 (+1812.24%)
Mutual labels:  loading
Css Spinner
small, elegant pure css spinner for ajax or loading animation
Stars: ✭ 1,013 (+1967.35%)
Mutual labels:  loading
React Circle
Renders a svg circle + progress, it just works 💘
Stars: ✭ 925 (+1787.76%)
Mutual labels:  loading
C V2x
Analytical Models of the Performance of C-V2X Mode 4 Vehicular Communications
Stars: ✭ 38 (-22.45%)
Mutual labels:  error
Error Report
前端异常上报
Stars: ✭ 20 (-59.18%)
Mutual labels:  error
Statusprovider
Protocol to handle initial Loadings, Empty Views and Error Handling in a ViewController & views
Stars: ✭ 879 (+1693.88%)
Mutual labels:  loading
Load Seed
⌛️ Garry's Mod loading screen skeleton to help developers quickly get started in building their own.
Stars: ✭ 31 (-36.73%)
Mutual labels:  loading

Oops

Download Api reqeust Apache License 2.0

Features

  • Tiny

  • One line of code shows empty, error, loading, etc.

  • No additional layout nesting required

Oops

Dependency

Gradle

Add it in your module build.gradle at the end of repositories:

dependencies {
    implementation 'me.samlss:oops:1.0.0'
}

Maven

<dependency>
  <groupId>me.samlss</groupId>
  <artifactId>oops</artifactId>
  <version>1.0.0</version>
  <type>pom</type>
</dependency>

Sample Usage

//Show empty layout
Oops.with('activity' or 'viewgroup').show(R.layout.layout_empty);

//show error view
View errorView = getLayoutInflater().inflate(R.layout.layout_no_net_error, null);    
Oops.with('activity' or 'viewgroup').show(errorView);

//When you do not need to show the layout(empty, error, loading,etc.) anymore
//Please invoke the method - release.    
Oops.with('activity' or 'viewgroup').release();

License

Copyright 2018 samlss

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].