Loading

Loading dialog for Android

Лицензия

Лицензия

Группа

Группа

com.yanzhenjie
Идентификатор

Идентификатор

loading
Последняя версия

Последняя версия

1.0.2
Дата

Дата

Тип

Тип

aar
Описание

Описание

Loading
Loading dialog for Android
Ссылка на сайт

Ссылка на сайт

https://github.com/yanzhenjie/Loading
Система контроля версий

Система контроля версий

https://github.com/yanzhenjie/Loading

Скачать loading

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.yanzhenjie/loading/ -->
<dependency>
    <groupId>com.yanzhenjie</groupId>
    <artifactId>loading</artifactId>
    <version>1.0.2</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.yanzhenjie/loading/
implementation 'com.yanzhenjie:loading:1.0.2'
// https://jarcasting.com/artifacts/com.yanzhenjie/loading/
implementation ("com.yanzhenjie:loading:1.0.2")
'com.yanzhenjie:loading:aar:1.0.2'
<dependency org="com.yanzhenjie" name="loading" rev="1.0.2">
  <artifact name="loading" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.yanzhenjie', module='loading', version='1.0.2')
)
libraryDependencies += "com.yanzhenjie" % "loading" % "1.0.2"
[com.yanzhenjie/loading "1.0.2"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

Loading

A MaterialDesign style LoadingView. Currently only for my own open source project, it comes from LoadingDrawable, recommend using the LoadingDrawable.

中文文档


Screenshot

Dependencies

  • Gradle
compile 'com.yanzhenjie:loading:1.0.2'
  • Maven
<dependency>
  <groupId>com.yanzhenjie</groupId>
  <artifactId>loading</artifactId>
  <version>1.0.2</version>
  <type>pom</type>
</dependency>

Usage

XML or Java:

<com.yanzhenjie.loading.LoadingView
    android:id="@+id/loading_view"
    android:layout_width="150dp"
    android:layout_height="150dp" />

// Or java:  
LoadingView loadView = new LoadingView(context);

The default is a white circle, change color:

LoadingView loadView;
loadView.setCircleColors(color1, color2, color3);

It will automatically turn up.

Default Dialog:

Dialog mWaitDialog = new LoadingDialog(context);
mWaitDialog.setMessage(R.string.loading_wait);
// mWaitDialog.setMessage("Please wait...");
mWaitDialog.setCircleColors(...);
mWaitDialog.show();

Thanks

LoadingDrawable

License

Copyright © Yan Zhenjie

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.

Версии библиотеки

Версия
1.0.2
1.0.1
1.0.0