Skip to content

Android Library to Show Error, Message, Loading inside Activity or Fragment

Notifications You must be signed in to change notification settings

Mojtaba-Shafaei/AndroidErrorMessage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Android Error/Message/Loading

A customizable Android library to display Error/Message/Loading.

Requirements

  • MIN-SDK Version = 14

Screenshots

sample AndroidToolbarBadgeButton image

Methods

  • setTypeface(typeface: Typeface?) // set Typeface of error TextView and Button
  • showMessage(...) // show suitable UI for a message
  • showError(...) // show suitable UI for an error
  • showInternetError(...) // show suitable UI for an Internet not found error
  • showNoData(...) // show suitable UI for Data Not Available
  • showLoading(...) // show suitable UI initializing loading
  • showListLoading(...) // show suitable UI for initializing a list
  • hide(...) // hide the library

XML

    <com.mojtaba_shafaei.android.ErrorMessage
        android:id="@+id/em"
        android:layout_width="match_parent"
        android:layout_height="match_parent"/>

Install

About

Android Library to Show Error, Message, Loading inside Activity or Fragment

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages