Skip to content

iamkurtgoz/ProgressView

Repository files navigation

Progress View

What Works

Implementation of the fragment with the ability to display indeterminate progress indicator when you are waiting for the initial data.
Example Video

Youtube

How to Import

Step 1. Add the JitPack repository to your build file
allprojects {
    repositories {
        maven { url 'https://jitpack.io' }
    }
}
Step 2. Add the dependency
dependencies {
    implementation 'com.github.iamkurtgoz:ProgressView:1.3'
}

What Works

public abstract class BaseFragment extends BaseProgressFragment {
  • Extend your fragment from the library *

After

setLoading(); //for loading
setLoading("Loading.. Please Wait"); //for loading

setTextMessage("Error connection. Please try again later."); //just text message

setMessage(R.drawable.error_image,"Error Data","Please try again later."); //rich message

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages