All Projects → imkarl → Waitview

imkarl / Waitview

Licence: lgpl-3.0
显示等待加载状态的View

Programming Languages

java
68154 projects - #9 most used programming language

Labels

Projects that are alternatives of or similar to Waitview

Stevia
🍃 Concise Autolayout code
Stars: ✭ 3,182 (+584.3%)
Mutual labels:  view
Banner
🔥🔥ViewPager,ViewPager2无限轮播功能。自定义Indicator,支持一屏三页,支持仿魅族banner效果。极其简单的使用方式
Stars: ✭ 393 (-15.48%)
Mutual labels:  view
Mylinearlayout
MyLayout is a powerful iOS UI framework implemented by Objective-C. It integrates the functions with Android Layout,iOS AutoLayout,SizeClass, HTML CSS float and flexbox and bootstrap. So you can use LinearLayout,RelativeLayout,FrameLayout,TableLayout,FlowLayout,FloatLayout,PathLayout,GridLayout,LayoutSizeClass to build your App 自动布局 UIView UITab…
Stars: ✭ 4,152 (+792.9%)
Mutual labels:  view
Scalinglayout
With Scaling Layout scale your layout on user interaction.
Stars: ✭ 3,276 (+604.52%)
Mutual labels:  view
Audiowave Progressbar
Lightweight audiowave progressbar for Android
Stars: ✭ 380 (-18.28%)
Mutual labels:  view
Bouncylayout
Make. It. Bounce.
Stars: ✭ 4,035 (+767.74%)
Mutual labels:  view
Uumarqueeview
[iOS]Customizable marquee view. #Marquee,MarqueeView,跑马灯,滚屏,上翻,左滑,多行,自定义
Stars: ✭ 295 (-36.56%)
Mutual labels:  view
Edgetranslucent
Android 任意View边沿渐变透明
Stars: ✭ 461 (-0.86%)
Mutual labels:  view
Slidablelayout
SlidableLayout is devoted to build a stable, easy-to-use and smooth sliding layout.
Stars: ✭ 385 (-17.2%)
Mutual labels:  view
Lemniscate
An easy way to make your progress view nice and sleek.
Stars: ✭ 420 (-9.68%)
Mutual labels:  view
Hauler
Library with swipe to dismiss Activity gesture implementation
Stars: ✭ 325 (-30.11%)
Mutual labels:  view
Wpemerge
A modern, MVC-powered WordPress as a CMS workflow. 🚀
Stars: ✭ 348 (-25.16%)
Mutual labels:  view
Bladeone
The standalone version Blade Template Engine without Laravel in a single php file and without dependencies
Stars: ✭ 411 (-11.61%)
Mutual labels:  view
Android Card Form
A ready-made card form layout that can be included in your Android app, making it easy to accept credit and debit cards.
Stars: ✭ 310 (-33.33%)
Mutual labels:  view
Weatherview
WeatherView is an Android Library let you make cool weather animations for your app
Stars: ✭ 426 (-8.39%)
Mutual labels:  view
Supertextview
Hi,Developer,Welcome to use SuperTextView !
Stars: ✭ 3,170 (+581.72%)
Mutual labels:  view
Materialimageloading
Material image loading implementation
Stars: ✭ 396 (-14.84%)
Mutual labels:  view
Freepager
ViewPagers library for Android
Stars: ✭ 461 (-0.86%)
Mutual labels:  view
Materialtimelineview
With MaterialTimelineView you can easily create a material looking timeline.
Stars: ✭ 443 (-4.73%)
Mutual labels:  view
Tocropviewcontroller
A view controller for iOS that allows users to crop portions of UIImage objects
Stars: ✭ 4,210 (+805.38%)
Mutual labels:  view

WaitView

显示等待加载状态的View

Introduce

  • 第二张图为等待加载的状态

默认状态 . 等待加载的状态

Features

  • 简单高效 一行代码搞定所有控件的状态切换、恢复
  • 兼容性强 支持所有系统控件、自定义控件
  • 可定制性 自定义渲染规则,按需配置

Usage

Step 1. Add the JitPack repository to your build file

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

Step 2. Add the dependency

compile 'com.github.ImKarl:WaitView:{latestVersion}'

Sample

  • 渲染
单个View
WaitViewController.from(mRootView).render();

所有子View
WaitViewController.from(mRootView).renderChilds();
  • 移除
单个View
WaitViewController.from(mRootView).remove();

所有子View
WaitViewController.from(mRootView).removeChilds();
  • 额外的可配置项
WaitViewController controller = WaitViewController.from(mRootView);

颜色:@ColorInt
controller.color(color);

透明度:@IntRange(from=0, to=255)
controller.alpha(alpha);

圆角半径:@Dimension
controller.radius(radius);

绘制区域:如 new Rect(0, 0, view.getWidth(), view.getHeight())
controller.drawRect(rect);
controller.drawRect(width, height);

过滤器:如 new SimpleOnWaitViewFilter()
controller.filter(filter);
  • 更详细的案例

请查看 sample

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