Skip to content

Commit

Permalink
Feat. Added Option to hide drawable when text is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-manshu committed Sep 2, 2019
1 parent f4c135a commit 6f7c824
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,11 @@
<com.mindorks.editdrawabletext.EditDrawableText
....
app:isDrawableShownWhenTextIsEmpty="false"

/>
```
or
```kotlin
drawableEditText.hasDrawable(/**YOUR VALUE**/)
drawableEditText.hasDrawable(/**YOUR VALUE**/)

```
When the value is false, then the drawable is hidden by default and vice versa
Expand Down

0 comments on commit 6f7c824

Please sign in to comment.