johnkil / Android Progressfragment
Licence: apache-2.0
Implementation of the fragment with the ability to display indeterminate progress indicator when you are waiting for the initial data.
Stars: ✭ 816
Programming Languages
java
68154 projects - #9 most used programming language
Projects that are alternatives of or similar to Android Progressfragment
Lemniscate
An easy way to make your progress view nice and sleek.
Stars: ✭ 420 (-48.53%)
Mutual labels: progress
Python Progressbar
Progressbar 2 - A progress bar for Python 2 and Python 3 - "pip install progressbar2"
Stars: ✭ 682 (-16.42%)
Mutual labels: progress
Arslineprogress
iOS progress bar, replacement for the default activity indicator.
Stars: ✭ 434 (-46.81%)
Mutual labels: progress
React Progress Button
🌀 Simple react.js component for an inline progress indicator
Stars: ✭ 516 (-36.76%)
Mutual labels: progress
Aosf
AOSF:全称为Android Open Source Framework,即Android优秀开源框架汇总。包含:网络请求okhttp,图片下载glide,数据库greenDAO,链式框架RxJava,组件路由ARouter,消息传递通信EventBus,热更新Tinker,插件化框架Replugin,文件下载FileDownloaer,图片选择PhotoPicker,图片滤镜/毛玻璃等特效处理,GIF图片展示控件,图片九宫格控件NineGridView,对话框Dialog,导航指示器ViewpagerIndicator,进度条ProgressWheel,下拉刷新SmartRefreshLayout,key-value高效数据存储MMKV等,应有尽有。
Stars: ✭ 601 (-26.35%)
Mutual labels: progress
Lazyfragment
类似微信,网易新闻 延迟加载Fragment基类 , 支持与ViewPager组合刷新全部Fragment
Stars: ✭ 391 (-52.08%)
Mutual labels: fragment
Compositeandroid
Composition over inheritance for Android components like Activity or Fragment
Stars: ✭ 519 (-36.4%)
Mutual labels: fragment
Androidnavigation
A library managing navigation, nested Fragment, StatusBar, Toolbar for Android
Stars: ✭ 636 (-22.06%)
Mutual labels: fragment
Fastlib
一个Android项目级快速开发框架,节约大部分写常用功能时间以实现更多项目业务功能及体验上的优化。使用说明见wiki
Stars: ✭ 469 (-42.52%)
Mutual labels: fragment
Coreprogress
OkHttp upload and download progress support
Stars: ✭ 498 (-38.97%)
Mutual labels: progress
Multiprogressview
📊 An animatable view that depicts multiple progresses over time. Modeled after UIProgressView
Stars: ✭ 614 (-24.75%)
Mutual labels: progress
Angular Svg Round Progressbar
Angular module that uses SVG to create a circular progressbar
Stars: ✭ 726 (-11.03%)
Mutual labels: progress
Cj Upload
Higher order React components for file uploading (with progress) react file upload
Stars: ✭ 589 (-27.82%)
Mutual labels: progress
Sectorprogressview
a simple progress prompt or chart widget of android using circle and a sector
Stars: ✭ 626 (-23.28%)
Mutual labels: progress
Android-ProgressFragment
Implementation of the fragment with the ability to display indeterminate progress indicator when you are waiting for the initial data. Based on ListFragment.
Sample
A sample application is available on Google Play:
Compatibility
This library is compatible from API 4 (Android 1.6).
Usage
To display the progress fragment you need the following code:
- Create your implementation of progress fragment
public class MyProgressFragment extends ProgressFragment {
// your code of fragment
}
or if you use ActionBarSherlock
public class MyProgressFragment extends SherlockProgressFragment {
// your code of fragment
}
- Setup content view and empty text (optional) in
onActivityCreate()
method.
@Override
public void onActivityCreated(Bundle savedInstanceState) {
super.onActivityCreated(savedInstanceState);
// Setup content view
setContentView(R.layout.content);
// Setup text for empty content
setEmptyText(R.string.empty);
// ...
}
- Display of indeterminate progress indicator
setContentShown(false);
- When the data is loaded to set whether the content is empty and show content
setContentEmpty(/* true if content is empty else false */);
setContentShown(true);
Gradle
Android-ProgressFragment library is now pushed to Maven Central as a AAR, so you just need to add the following dependency to your build.gradle.
ProgressFragment (support-v4):
dependencies {
compile 'com.github.johnkil.android-progressfragment:progressfragment:1.4.+'
}
ProgressFragment (native):
dependencies {
compile 'com.github.johnkil.android-progressfragment:progressfragment-native:1.4.+'
}
SherlockProgressFragment:
dependencies {
compile 'com.android.support:support-v4:19.0.0'
compile('com.github.johnkil.android-progressfragment:sherlockprogressfragment:1.4.+') {
exclude module: 'support-v4'
}
}
Example Gradle project using Android-ProgressFragment:
Developed By
- Evgeny Shishkin - [email protected]
License
Copyright 2013 Evgeny Shishkin
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].