package com.rocketchat.core.callback;

import com.rocketchat.common.data.model.User;
import com.rocketchat.common.listener.Callback;
import com.rocketchat.core.model.attachment.Attachment;

import java.util.List;

/**
 * Created by sachin on 20/7/17.
 */
public class RoomCallback {

    public interface GroupCreateCallback extends Callback {
        void onCreateGroup(String roomId);
    }

    public interface GetMembersCallback extends Callback {
        void onGetRoomMembers(Integer total, List<User> members);
    }

    public interface GetFilesCallback extends Callback {
        void onGetRoomFiles(Integer total, List<Attachment> files);
    }
}
package com.rocketchat.core.callback;

import com.rocketchat.common.data.model.User;
import com.rocketchat.common.listener.Callback;
import com.rocketchat.core.model.attachment.Attachment;

import java.util.List;

/**
 * Created by sachin on 20/7/17.
 */
public class RoomCallback {

    public interface GroupCreateCallback extends Callback {
        void onCreateGroup(String roomId);
    }

    public interface GetMembersCallback extends Callback {
        void onGetRoomMembers(Integer total, List<User> members);
    }

    public interface GetFilesCallback extends Callback {
        void onGetRoomFiles(int total, List<Attachment> files);
    }
}
Update RoomCallback.java