Commit 3bbe0594 authored by Yusuke Iwaki's avatar Yusuke Iwaki

fix coding style.

parent 0586deb6
......@@ -13,6 +13,7 @@ import chat.rocket.android.renderer.UserRenderer;
import java.util.List;
/**
* RecyclerView adapter for UsersOfRooms.
*/
public class RoomUserAdapter extends RecyclerView.Adapter<RoomUserViewHolder> {
......@@ -22,6 +23,9 @@ public class RoomUserAdapter extends RecyclerView.Adapter<RoomUserViewHolder> {
private final String hostname;
private List<String> usernames;
/**
* Constructor with required parameters.
*/
public RoomUserAdapter(Context context, RealmHelper realmHelper, String hostname) {
this.context = context;
this.inflater = LayoutInflater.from(context);
......
......@@ -14,6 +14,9 @@ public class RoomUserViewHolder extends RecyclerView.ViewHolder {
ImageView avatar;
TextView username;
/**
* Constructor.
*/
public RoomUserViewHolder(View itemView) {
super(itemView);
status = (ImageView) itemView.findViewById(R.id.room_user_status);
......
......@@ -14,8 +14,10 @@ import org.json.JSONObject;
import timber.log.Timber;
/**
* Model observer for executing getUsersOfRooms.
*/
public class GetUsersOfRoomsProcedureObserver extends AbstractModelObserver<GetUsersOfRoomsProcedure> {
public class GetUsersOfRoomsProcedureObserver
extends AbstractModelObserver<GetUsersOfRoomsProcedure> {
private final MethodCallHelper methodCall;
......
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