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