Skip to content

The Android layout for displaying different states (loading, empty, error, content) on UI.

License

Notifications You must be signed in to change notification settings

balazsgerlei/StatefulLayout

Repository files navigation

StatefulLayout

API license last commit

The Android layout for displaying different states (loading, empty, error, content) on UI.

WARNING! The library is in its early stage with active development, so expect breaking changes!

Setup

The library is currently hosted on jitpack.io. You can add it as a depenency to your project:

Step 1. Add the JitPack repository to your build file

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

dependencyResolutionManagement {
	repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
	repositories {
		mavenCentral()
		maven { url 'https://jitpack.io' }
	}
}

Step 2. Add the dependency

dependencies {
        implementation 'com.github.balazsgerlei:StatefulLayout:1.0.0-alpha06'
}

About

The Android layout for displaying different states (loading, empty, error, content) on UI.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages