Commit 4df14666 authored by Filipe de Lima Brito's avatar Filipe de Lima Brito

Update SidebarMainContract.java

parent 2c115f78
...@@ -2,6 +2,7 @@ package chat.rocket.android.fragment.sidebar; ...@@ -2,6 +2,7 @@ package chat.rocket.android.fragment.sidebar;
import android.support.annotation.NonNull; import android.support.annotation.NonNull;
import chat.rocket.core.models.RoomSidebar;
import io.reactivex.Flowable; import io.reactivex.Flowable;
import java.util.List; import java.util.List;
import chat.rocket.android.shared.BaseContract; import chat.rocket.android.shared.BaseContract;
...@@ -17,16 +18,14 @@ public interface SidebarMainContract { ...@@ -17,16 +18,14 @@ public interface SidebarMainContract {
void showEmptyScreen(); void showEmptyScreen();
void showRoomList(@NonNull List<Room> roomList); void showRoomSidebarList(@NonNull List<RoomSidebar> roomSidebarList);
void showUserStatus(@NonNull User user);
void show(User user); void show(User user);
} }
interface Presenter extends BaseContract.Presenter<View> { interface Presenter extends BaseContract.Presenter<View> {
void onRoomSelected(Room room); void onRoomSelected(RoomSidebar roomSidebar);
void onSpotlightSelected(Spotlight spotlight); void onSpotlightSelected(Spotlight spotlight);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment