widgets

Android自定义控件库

License

License

GroupId

GroupId

com.github.wandersnail
ArtifactId

ArtifactId

widgets
Last Version

Last Version

1.2.2
Release Date

Release Date

Type

Type

aar
Description

Description

widgets
Android自定义控件库
Project URL

Project URL

https://github.com/wandersnail
Source Code Management

Source Code Management

https://github.com/wandersnail/widgets

Download widgets

How to add to project

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

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

自定义控件

代码托管

Maven Central Download

使用

  1. module的build.gradle中的添加依赖,自行修改为最新版本,同步后通常就可以用了:
dependencies {
	...
	implementation 'cn.wandersnail:widget-generic:latestVersion'
	implementation 'androidx.recyclerview:recyclerview:latestVersion'
}
  1. 如果从jcenter下载失败。在project的build.gradle里的repositories添加内容,最好两个都加上,添加完再次同步即可。
allprojects {
	repositories {
		...
		mavenCentral()
		maven { url 'https://dl.bintray.com/wandersnail/androidx/' }
	}
}

功能

  • 自定义对话框基类
  • 圆形ImageView
  • 圆形进度条
  • 带清除EditText
  • 任意圆角Button和TextView
  • 带动画开关
  • 滑动文本选择器

image image image image image image image image

Versions

Version
1.2.2
1.2.1
1.2.0
1.1.6