Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AloqaIM-Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
AloqaIM-Android
Commits
3bbe0594
Commit
3bbe0594
authored
Nov 28, 2016
by
Yusuke Iwaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix coding style.
parent
0586deb6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
RoomUserAdapter.java
...android/layouthelper/chatroom/dialog/RoomUserAdapter.java
+4
-0
RoomUserViewHolder.java
...roid/layouthelper/chatroom/dialog/RoomUserViewHolder.java
+3
-0
GetUsersOfRoomsProcedureObserver.java
...id/service/observer/GetUsersOfRoomsProcedureObserver.java
+3
-1
No files found.
app/src/main/java/chat/rocket/android/layouthelper/chatroom/dialog/RoomUserAdapter.java
View file @
3bbe0594
...
...
@@ -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
);
...
...
app/src/main/java/chat/rocket/android/layouthelper/chatroom/dialog/RoomUserViewHolder.java
View file @
3bbe0594
...
...
@@ -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
);
...
...
app/src/main/java/chat/rocket/android/service/observer/GetUsersOfRoomsProcedureObserver.java
View file @
3bbe0594
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment