package chat.rocket.android.layouthelper.chatroom.roomlist;

import android.support.annotation.NonNull;

import java.util.List;
import chat.rocket.core.models.Room;

public interface RoomListHeader {

  String getTitle();

  boolean owns(Room room);

  boolean shouldShow(@NonNull List<Room> roomList);

  ClickListener getClickListener();

  interface ClickListener {
    void onClick();
  }
}

@@ -98,16 +98,60 @@
 nNull;%0A%0A
+import chat.rocket.core.models.RoomSidebar;%0A
 import j
@@ -279,21 +279,35 @@
 wns(Room
- room
+Sidebar roomSidebar
 );%0A%0A  bo
@@ -345,14 +345,28 @@
 Room
-%3E room
+Sidebar%3E roomSidebar
 List

Update RoomListHeader.java