Skip to content

Commit

Permalink
Read me was updated
Browse files Browse the repository at this point in the history
  • Loading branch information
enofeb committed Nov 11, 2021
1 parent 8d12fd9 commit 898dc76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Socially is a textView which is able to create separate clickable views accordin
app:phoneNumberColor="@color/colorOrange"
app:webLinkColor="@color/colorRed" />
```
2) Add your rules
2) Add your rules.
```kotlin
socialTextView.addRules(
Rule.Hashtag,
Expand All @@ -41,12 +41,12 @@ socialTextView.addRules(
)
)
```
3) And, finally set your text
3) And, finally set your text.
```kotlin
socialTextView.socialText = "I am #Spider @Enes99 +905512026461 eneszor95@gmail.com https://www.lichess.org"
```

NOTES: Please get follow this three steps while setting up this library.
NOTES: Please get follow these three steps while setting up this library.

## Features
* It already supports hashtag, mention, phone number, mail and weblinks. To enable them , you need to add rule which you want to use.
Expand Down

0 comments on commit 898dc76

Please sign in to comment.