-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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, | ||
|
@@ -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 [email protected] 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. | ||
|