# SwitchButton **Repository Path**: thyouwang/SwitchButton ## Basic Information - **Project Name**: SwitchButton - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-02-06 - **Last Updated**: 2024-02-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 效果 SwitchButton ## 使用方法 ###### 1.style.xml中引入自定义标签 ```java ``` ###### 2.引入自定义View布局 ```java ``` ###### 3.设置监听 ```java switchButton.setOnCheckedChangeListener( new SwitchButton.OnCheckedChangeListener() { @Override public void onCheckedChanged(SwitchButton view, final boolean isChecked) { } }); ```