Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Zagumennyi Evgenii committed Jul 4, 2019
1 parent 37c26aa commit 967898d
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,19 +70,16 @@ Fully customized implementation:
app:srcCompat="@drawable/ic_cloud"/>
```

Public methods:
Public methods and fields:

```java
```kotlin

public void setIconEnabled(boolean enabled);
var isIconEnabled: Boolean

public void setIconEnabled(boolean enabled, boolean animate);
fun setIconEnabled(enabled: Boolean, animate: Boolean = true)

public boolean isIconEnabled();

public void switchState();

public void switchState(boolean animate);
fun switchState(animate: Boolean = true)

```

See [sample](https://github.com/zagum/Android-SwitchIcon/tree/master/switchicon-sample) project for more information.
Expand Down

0 comments on commit 967898d

Please sign in to comment.