Skip to content
This repository was archived by the owner on Mar 8, 2024. It is now read-only.

Commit f460264

Browse files
author
Angad Singh
committed
docs: Highlighting of variables and labels
1 parent 03eaa8e commit f460264

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@ Android Library for Custom Switches.
1010
### Where to Find:
1111
[![Download](https://api.bintray.com/packages/angads25/maven/Toggle/images/download.svg)](https://bintray.com/angads25/maven/Toggle/_latestVersion) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.angads25/toggle/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.angads25/toggle)
1212

13+
### Read all about internal classes and functions in the [wiki](https://github.com/Angads25/android-toggle/wiki).
1314

1415
### Installation
1516

1617
* Library is also Available in MavenCentral, So just put this in your app dependencies to use it:
1718
```gradle
18-
compile 'com.github.angads25:toggle:1.0.0'
19+
implementation 'com.github.angads25:toggle:1.0.0'
1920
```
2021

2122
### Usage
2223

23-
1. Start by adding a Switch (eg. LabeledSwitch) in your xml layout as:
24+
1. Start by adding a Switch (eg. `LabeledSwitch`) in your xml layout as:
2425

2526
```xml
26-
2727
<com.github.angads25.toggle.LabeledSwitch
2828
android:id="@+id/switch"
2929
android:layout_width="wrap_content"
@@ -45,7 +45,7 @@ Android Library for Custom Switches.
4545
}
4646
});
4747
```
48-
That's It. All your switching callbacks would be handled in onSwitched method, isOn will provide the current state of the switch.
48+
That's It. All your switching callbacks would be handled in `onSwitched` method, parameter `isOn` will provide the current state of the switch.
4949

5050
### Switches Available
5151

0 commit comments

Comments
 (0)