widget-generic

Some customized views commonly used

License

License

GroupId

GroupId

cn.wandersnail
ArtifactId

ArtifactId

widget-generic
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

aar
Description

Description

widget-generic
Some customized views commonly used
Project URL

Project URL

https://github.com/wandersnail/widget-generic
Source Code Management

Source Code Management

https://github.com/wandersnail/widget-generic

Download widget-generic

How to add to project

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

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 Release

使用

  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://jitpack.io' }
	}
}

功能

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

image image image image image image image image

Versions

Version
1.1.0
1.0.11
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.3
1.0.2
1.0.1
1.0.0