fixed update when in message-list

This commit is contained in:
Mike Schwörer 2018-11-17 16:02:31 +01:00
parent 6c29ec9820
commit a8a074907b
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
3 changed files with 2 additions and 3 deletions

View File

@ -82,7 +82,7 @@ public class CMessageList
{
MessageAdapter a = ref.get();
if (a == null) continue;
a.customNotifyItemInserted(count);
a.customNotifyDataSetChanged();
a.scrollToTop();
}
CleanUpListener();

View File

@ -57,7 +57,6 @@ public class MessageAdapter extends RecyclerView.Adapter
viewHolders.put(view, true);
}
@Override
public void onViewRecycled(@NonNull RecyclerView.ViewHolder holder)
{

View File

@ -54,7 +54,7 @@
<div class="row responsive-label">
<div class="col-sm-12 col-md-3"><label for="txt" class="doc">Message Content</label></div>
<div class="col-sm-12 col-md"><textarea id="txt" class="doc" <?php echo (isset($_GET['preset_content']) ? (' value="'.$_GET['preset_content'].'" '):(''));?> rows="8"></textarea></div>
<div class="col-sm-12 col-md"><textarea id="txt" class="doc" <?php echo (isset($_GET['preset_content']) ? (' value="'.$_GET['preset_content'].'" '):(''));?> rows="8" maxlength="2048"></textarea></div>
</div>
<div class="row">