klinker24 / talon-for-twitter-android

The most powerful and beautiful Twitter client available.
https://klinkerapps.com/talon-overview
1.19k stars 183 forks source link

Reply UI has problem #118

Open kofuk opened 5 years ago

kofuk commented 5 years ago

If reply tweet has no space after @username, Talon is not able to parse reply information correctly. https://github.com/klinker24/talon-for-twitter-android/blob/master/app/src/main/java/com/klinker/android/twitter_l/utils/ReplyUtils.java#L15

Screenshot_20190501-110434

Screenshot_20190501-105725

I think, following approach can be considered but I can't decide which to chose.

  1. Parse first line's username string (before non-username string occur) and ignore following lines.
  2. Parse all username before non-username string occur.