Android-ProgressDialogFragment
Sample
Usage
public class SampleFragment extends ProgressDialogFragment {
// your code of fragment
}
or if you use ActionBarSherlock
public class SampleFragment extends SherlockProgressDialogFragment {
// your code of fragment
}
- Display of indeterminate progress indicator
setContentShown(false);
Gradle
ProgressDialogFragment (support-v4):
dependencies {
compile 'me.yuichi0301:pdfragment:1.1.+'
}
ProgressDialogFragment (native):
dependencies {
compile 'me.yuichi0301:pdfragment-native:1.1.+'
}
SherlockProgressDialogFragment:
dependencies {
compile 'com.android.support:support-v4:21.0.3'
compile('me.yuichi0301:sherlockpdfragment:1.1.+') {
exclude module: 'support-v4'
}
}