项目作者: RyanSimon

项目描述 :
Handle Android network errors with elegance
高级语言: Java
项目地址: git://github.com/RyanSimon/informer.git
创建时间: 2016-11-04T01:06:33Z
项目社区:https://github.com/RyanSimon/informer

开源协议:Apache License 2.0

下载


Informer

Handle network errors with elegance by providing users with error messages they can interact with.
Use a simple API for showing inline and Snackbar messages to give network errors consistency
across your app.

Usage

Setting up Informer is pretty straightforward. Check out the sample app for setup.

Configure

Make sure you reference jitpack.io in your root build.gradle file

  1. allprojects {
  2. repositories {
  3. ...
  4. maven { url "https://jitpack.io" }
  5. }
  6. }

Then add Informer to your dependencies

  1. dependencies {
  2. compile 'com.github.ryansimon:informer:1.0.1'
  3. }

Todo

Add additional examples and more thorough documentation.

License

  1. Copyright 2016 Ryan Simon
  2. Licensed under the Apache License, Version 2.0 (the "License");
  3. you may not use this file except in compliance with the License.
  4. You may obtain a copy of the License at
  5. http://www.apache.org/licenses/LICENSE-2.0
  6. Unless required by applicable law or agreed to in writing, software
  7. distributed under the License is distributed on an "AS IS" BASIS,
  8. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  9. See the License for the specific language governing permissions and
  10. limitations under the License.