From e1b9332f2b46d328ed7130db38a61ff22df926f2 Mon Sep 17 00:00:00 2001 From: Primoz Date: Fri, 12 Oct 2018 08:35:57 +1100 Subject: [PATCH] Changed access modifier from public to protected for: - List items - method `generateDateHeaders` --- .../com/stfalcon/chatkit/messages/MessagesListAdapter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chatkit/src/main/java/com/stfalcon/chatkit/messages/MessagesListAdapter.java b/chatkit/src/main/java/com/stfalcon/chatkit/messages/MessagesListAdapter.java index 80f0a304..e0fcb8a2 100644 --- a/chatkit/src/main/java/com/stfalcon/chatkit/messages/MessagesListAdapter.java +++ b/chatkit/src/main/java/com/stfalcon/chatkit/messages/MessagesListAdapter.java @@ -51,7 +51,7 @@ public class MessagesListAdapter protected static boolean isSelectionModeEnabled; - public List items; + protected List items; private MessageHolders holders; private String senderId; @@ -528,7 +528,7 @@ private void recountDateHeaders() { } } - public void generateDateHeaders(List messages) { + protected void generateDateHeaders(List messages) { for (int i = 0; i < messages.size(); i++) { MESSAGE message = messages.get(i); this.items.add(new Wrapper<>(message));