Android代码-Material-Spinner

时间:2022-08-25 23:52:00
【文件属性】:

文件名称:Android代码-Material-Spinner

文件大小:602KB

文件格式:ZIP

更新时间:2022-08-25 23:52:00

Android代码

Material Spinner Usage Add the spinner to your layout XML: Add items to the spinner and listen for clicks: MaterialSpinner spinner = (MaterialSpinner) findViewById(R.id.spinner); spinner.setItems("Ice Cream Sandwich", "Jelly Bean", "KitKat", "Lollipop", "Marshmallow"); spinner.setOnItemSelectedListener(new MaterialSpinner.OnItemSelectedListener() { @Override public void onItemSelected(MaterialSpinner view, int position, long id, String item) { Snackbar.make(view, "Clic


【文件预览】:
MaterialSpinner-master
----.travis.yml(442B)
----gradlew.bat(2KB)
----gradlew(5KB)
----gradle.properties(52B)
----demo.gif(1.22MB)
----library()
--------gradle.properties(814B)
--------proguard-rules.pro(645B)
--------src()
--------.gitignore(7B)
--------build.gradle(365B)
----LICENSE(11KB)
----gradle()
--------wrapper()
--------maven-push.gradle(3KB)
----.gitignore(513B)
----demo()
--------proguard-rules.pro(645B)
--------src()
--------.gitignore(7B)
--------build.gradle(548B)
----README.md(4KB)
----settings.gradle(28B)
----build.gradle(263B)

网友评论