StateLayout
StateLayout is a custom framelayout used to control view state in android
Adding to your project
- Add the JitPack repository to your build.gradle at the end of repositories:
- Add the dependency
Usage
Attributes
Attribute | Usage |
---|---|
buttonText | Retry Button Text |
emptyImage | Empty State Icon |
errorImage | Error State Icon |
loadingView | Custom Loading View |