Cities Of China Picker

Cities Of China Picker.

License

License

MIT
GroupId

GroupId

com.github.captain-miao
ArtifactId

ArtifactId

chinacitypicker
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

aar
Description

Description

Cities Of China Picker
Cities Of China Picker.
Project URL

Project URL

https://github.com/captain-miao/ChinaCityPicker
Source Code Management

Source Code Management

https://github.com/captain-miao/ChinaCityPicker

Download chinacitypicker

How to add to project

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

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.

Cities Of China Picker

Gradle

Get library from oss.sonatype.org.io

repositories {

    maven { url 'https://oss.sonatype.org/content/repositories/releases' }
    maven { url "https://oss.sonatype.org/content/repositories/snapshots" }

}

dependencies {
    compile 'com.github.captain-miao:chinacitypicker:1.0.0'
}

功能

  1. 数据和选择器 分离
  2. 自定义选择器请覆盖 pop_citypicker.xml
  3. todo Wheel的属性自定义

支持的属性设置

    <color name="city_picker_bg">#eeeeee</color>
    <color name="province_line_border">#C7C7C7</color>
    
    mCityPickerView.setTextColor(getResources().getColor(R.color.colorAccent));
    mCityPickerView.setTextSize(20);
    mCityPickerView.setVisibleItems(7);
    mCityPickerView.setIsCyclic(false);

Screenshot

cities-of-china-picker

感谢

Versions

Version
1.0.1
1.0.0