Java Code Examples for android.widget.TextView#setTextKeepState()
The following examples show how to use
android.widget.TextView#setTextKeepState() .
These examples are extracted from open source projects.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: Klyph File: EmojiUtil.java License: MIT License | 4 votes |
public static void convertTextToEmoji(TextView textView, boolean addLinks) { textView.setTextKeepState(getSpannableForText(textView.getContext(), textView.getText().toString(), addLinks), BufferType.SPANNABLE); }
Example 2
Source Project: KlyphMessenger File: EmojiUtil.java License: MIT License | 4 votes |
public static void convertTextToEmoji(TextView textView, boolean addLinks) { textView.setTextKeepState(getSpannableForText(textView.getContext(), textView.getText().toString(), addLinks), BufferType.SPANNABLE); }