Skip to content Skip to sidebar Skip to footer

Receive Custom Intent Without Activity Restart

I have a TextView with some linkification(twitter style): Pattern pattern1 = Pattern.compile('@\\w+'); Linkify.addLinks(textView, pattern1, 'my_activity://one='); Pattern pattern2

Solution 1:

Looks like launchMode is the problem. You shouldn't use singleInstance, as that is only for HOME-screen replacements. You should try singleTop. That should be enough for what you are trying to do.


Post a Comment for "Receive Custom Intent Without Activity Restart"