mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-22 16:50:04 +02:00
Fix an issue #450
This commit is contained in:
parent
f78184216d
commit
966b0bce43
1 changed files with 3 additions and 0 deletions
|
@ -920,6 +920,7 @@ public class ComposeAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder
|
|||
holder.binding.content.setText(newContent);
|
||||
updateCharacterCount(holder);
|
||||
holder.binding.content.setSelection(newPosition);
|
||||
statusList.get(holder.getBindingAdapterPosition()).text = newContent;
|
||||
AccountsSearchAdapter accountsListAdapter1 = new AccountsSearchAdapter(context, new ArrayList<>());
|
||||
holder.binding.content.setThreshold(1);
|
||||
holder.binding.content.setAdapter(accountsListAdapter1);
|
||||
|
@ -972,6 +973,7 @@ public class ComposeAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder
|
|||
if (currentCursorPosition < oldContent.length())
|
||||
newContent += oldContent.substring(currentCursorPosition);
|
||||
holder.binding.content.setText(newContent);
|
||||
statusList.get(holder.getBindingAdapterPosition()).text = newContent;
|
||||
updateCharacterCount(holder);
|
||||
holder.binding.content.setSelection(newPosition);
|
||||
TagsSearchAdapter tagsSearchAdapter1 = new TagsSearchAdapter(context, new ArrayList<>());
|
||||
|
@ -1030,6 +1032,7 @@ public class ComposeAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder
|
|||
if (currentCursorPosition < oldContent.length())
|
||||
newContent += oldContent.substring(currentCursorPosition);
|
||||
holder.binding.content.setText(newContent);
|
||||
statusList.get(holder.getBindingAdapterPosition()).text = newContent;
|
||||
updateCharacterCount(holder);
|
||||
holder.binding.content.setSelection(newPosition);
|
||||
EmojiSearchAdapter emojisSearchAdapter1 = new EmojiSearchAdapter(context, new ArrayList<>());
|
||||
|
|
Loading…
Reference in a new issue