All Projects → liangchengcheng → Android Loading Dialog

liangchengcheng / Android Loading Dialog

Licence: apache-2.0
这个是我在泡网看见的一个等待的dialog

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Android Loading Dialog

Vue Ui For Pc
基于Vue2.x的一套PC端UI组件,包括了Carousel 跑马灯、Cascader 级联、Checkbox 多选框、Collapse 折叠面板、DatePicker 日期选择、Dialog 对话框、Form 表单、Input 输入框、InputNumber 数字输入框、Layer 弹窗层、Loading 加载、Menu 菜单、Page 分页、Progress 进度条、Radio 单选框、SelectDropDown 仿select、Switch 开关、Table 表格、Tabs 标签页、Textarea 文本框、Tooltip 文字提示、BackTop 返回顶部、steps 步骤条、Transfer 穿梭框、Tree 树形、Upload 文件上传、Lazy 图片懒加载、Loading 加载、Pagination 分页等等
Stars: ✭ 156 (-47.47%)
Mutual labels:  dialog, loading
Ngx Skeleton Loader
Make beautiful, animated loading skeletons that automatically adapt to your Angular apps
Stars: ✭ 278 (-6.4%)
Mutual labels:  loading, loading-animations
Loadingbar
极简使用的解耦Loading组件 - http://blog.csdn.net/aa464971/article/details/70197394
Stars: ✭ 179 (-39.73%)
Mutual labels:  dialog, loading
Android Circledialog
仿IOS圆角对话框、进度条、列表框、输入框,ad广告框,支持横竖屏切换
Stars: ✭ 880 (+196.3%)
Mutual labels:  dialog, loading
Fluent-Design
Microsoft's Fluent Design with pure HTML/CSS/JS
Stars: ✭ 36 (-87.88%)
Mutual labels:  loading, loading-animations
Dialogutil
common used dialog with material style ( in support v7),ios style,get top activity automatically, invoke everywhere (any thread , any window)
Stars: ✭ 948 (+219.19%)
Mutual labels:  dialog, loading
react-bones
💀 Dead simple content loading components for React and React-Native. 💀
Stars: ✭ 42 (-85.86%)
Mutual labels:  loading, loading-animations
Skeletonview
☠️ An elegant way to show users that something is happening and also prepare them to which contents they are awaiting
Stars: ✭ 10,804 (+3537.71%)
Mutual labels:  loading, loading-animations
fun-loading
基于React的Loading组件库。
Stars: ✭ 22 (-92.59%)
Mutual labels:  loading, loading-animations
SSSwiftUISpinnerButton
SSSwiftUISpinnerButton is a collection of various spinning animations for buttons in SwiftUI.
Stars: ✭ 37 (-87.54%)
Mutual labels:  loading, loading-animations
Tabanimated
A skeleton screen framework based on native for iOS. (一个由iOS原生组件映射出骨架屏的框架,包含快速植入,低耦合,兼容复杂视图等特点,提供国内主流骨架屏动画的加载方案,同时支持上拉加载更多、自定制动画。)
Stars: ✭ 2,909 (+879.46%)
Mutual labels:  loading, loading-animations
easy-css-layout
Easy css layout
Stars: ✭ 117 (-60.61%)
Mutual labels:  loading, loading-animations
Flutter spinkit
✨ A collection of loading indicators animated with flutter. Heavily Inspired by http://tobiasahlin.com/spinkit.
Stars: ✭ 2,411 (+711.78%)
Mutual labels:  loading, loading-animations
Aiforms.dialogs
AiForms.Dialogs for Xamarin.Forms
Stars: ✭ 143 (-51.85%)
Mutual labels:  dialog, loading
Waveloadingview
An Android library providing to realize wave loading effect.
Stars: ✭ 1,658 (+458.25%)
Mutual labels:  loading, loading-animations
respinner
Pretty and customizable svg spinners for React.js
Stars: ✭ 89 (-70.03%)
Mutual labels:  loading, loading-animations
Iprogresshud
An elegant, lightweight and responsive progress HUD for iOS app with very simple usage. Available 32 indicators by NVActivityIndicatorView.
Stars: ✭ 66 (-77.78%)
Mutual labels:  loading, loading-animations
Svg Loaders React
React adaptation of the SVG Loaders library by Sam Herbert
Stars: ✭ 75 (-74.75%)
Mutual labels:  loading, loading-animations
TipDialog
flutter tip dialog
Stars: ✭ 78 (-73.74%)
Mutual labels:  dialog, loading
Xamarin.Android.AVLoadingIndicatorView
🔰 AVLoadingIndicatorView is a collection of nice loading animations for Xamarin.Android.
Stars: ✭ 26 (-91.25%)
Mutual labels:  loading, loading-animations

KProgressHUD

Apache License Download Android Arsenal

An implement of ProgressHUD for Android, similar to MBProgressHUD, SVProgressHUD. Inspired by MBProgressHUD for iOS.

Compatibility

Android 2.3 and later

Adding KProgressHUD to your project

Gradle

Include this in your module build.gradle

dependencies {
    // Other dependencies
    compile 'com.kaopiz:kprogresshud:1.0.2'
}

Source code

You can download and import the kprogresshud folder as module to your project.

Usage

The usage of KProgressHUD is pretty straight forward. You create the HUD, customize its style and show it on the UI thread. Then fire a background thread to work on long-running tasks. When done, call dismiss() to close it (if you use a determinate style, the HUD will automatically dismiss if progress reach its max).

Indeterminate HUD

KProgressHUD.create(MainActivity.this)
	.setStyle(KProgressHUD.Style.SPIN_INDETERMINATE)
	.setLabel("Please wait")
	.setDetailsLabel("Downloading data");
	.setCancellable(true)
	.setAnimationSpeed(2)
	.setDimAmount(0.5f)
	.show();

Determinate HUD

KProgressHUD hud = KProgressHUD.create(MainActivity.this)
					.setStyle(KProgressHUD.Style.ANNULAR_DETERMINATE)
					.setLabel("Please wait")
					.setMaxProgress(100)
					.show();
hud.setProgress(90);

Alternatively, you can create a custom view and pass to the HUD to display it.

ImageView imageView = new ImageView(this);
imageView.setImageResource(R.mipmap.ic_launcher);
KProgressHUD.create(MainActivity.this)
	.setCustomView(imageView)
    .setLabel("This is a custom view")
	.show();

The custom view can implement Determinate or Indeterminate, which make the HUD treats this view like the default determinate or indeterminate implementations, not required.

See Javadocs or sample app for more information.

Contributing

  1. Fork it ( https://github.com/Kaopiz/KProgressHUD/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Contributor

License

   Copyright 2015 Kaopiz Software Co., Ltd.

   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].