-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #58 from gulerbu/diaogs/linkable_content_support
Add link support for dialog content
- Loading branch information
Showing
4 changed files
with
16 additions
and
9 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
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
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
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 |
---|---|---|
|
@@ -142,19 +142,26 @@ class DialogsActivity : AppCompatActivity() { | |
.bold { | ||
append(" Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.") | ||
} | ||
.append("[email protected]") | ||
.append(" Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.") | ||
.append(" Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.") | ||
.append("trendyol.com") | ||
.append(" Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.") | ||
.append(" Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.") | ||
.append(" Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.") | ||
.append(" Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.") | ||
.append("+905066979797") | ||
|
||
|
||
|
||
|
||
private fun getHtmlString(): String = | ||
"<h1>Enter the main heading, usually the same as the title.</h1>\n" + | ||
"<p>Be <b>bold</b> in stating your key points. Put them in a list: </p>\n" + | ||
"<ul>\n" + | ||
"<li>The first item in your list</li>\n" + | ||
"<li>The second item; <i>italicize</i> key words</li>\n" + | ||
"<a href=\"https://www.trendyol.com/\">Visit Trendyol!</a>" + | ||
"</ul>" | ||
|
||
private fun getListItems(): List<Pair<Boolean, String>> = | ||
|