Fixes issue #77 - Weird issue with mentions in 1.6.4.1

This commit is contained in:
stom79 2017-12-04 07:04:07 +01:00
parent eddfc6f67e
commit 6816de9ca6
1 changed files with 4 additions and 0 deletions

View File

@ -470,6 +470,8 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
holder.status_content.setText(status.getContentSpan(), TextView.BufferType.SPANNABLE);
holder.status_spoiler.setText(status.getContentSpanCW(), TextView.BufferType.SPANNABLE);
holder.status_content.setMovementMethod(null);
holder.status_content.setMovementMethod(LinkMovementMethod.getInstance());
//Manages translations
final MyTransL myTransL = MyTransL.getInstance(MyTransL.translatorEngine.YANDEX);
@ -511,6 +513,8 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
}
}
});
holder.status_content_translated.setMovementMethod(null);
holder.status_content_translated.setMovementMethod(LinkMovementMethod.getInstance());
//-------- END -> Manages translations