Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/byteszero/mdcheckbox
这是一个MD风格的CheckBox
https://github.com/byteszero/mdcheckbox
Last synced: 4 days ago
JSON representation
这是一个MD风格的CheckBox
- Host: GitHub
- URL: https://github.com/byteszero/mdcheckbox
- Owner: BytesZero
- License: apache-2.0
- Created: 2015-05-28T05:17:37.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-05-28T07:02:07.000Z (over 9 years ago)
- Last Synced: 2023-11-05T13:22:23.302Z (about 1 year ago)
- Language: Java
- Size: 1.34 MB
- Stars: 10
- Watchers: 0
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MDCheckBox
这是一个MD风格的CheckBox
###效果
![](MDCheckBox.gif)###用法
```java
```
###监听事件
```java
MDCheckBox mdcb= (MDCheckBox) findViewById(R.id.main_mdcb_checkbox);
mdcb.setOnCheckedChangeListener(new MDCheckBox.OnCheckedChangeListener() {
@Override
public void onCheckedChanged(View buttonView, boolean isChecked) {
tv_name.setText("是否选中:"+isChecked);
}
});
```