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
566da739
Commit
566da739
authored
Sep 14, 2017
by
Filipe de Lima Brito
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RoomDialogFragment.kt
parent
c282e5b6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
RoomDialogFragment.kt
...et/android/fragment/chatroom/dialog/RoomDialogFragment.kt
+7
-5
No files found.
app/src/main/java/chat/rocket/android/fragment/chatroom/dialog/RoomDialogFragment.kt
View file @
566da739
...
@@ -18,7 +18,6 @@ import chat.rocket.android.layouthelper.chatroom.dialog.RoomMemberListAdapter
...
@@ -18,7 +18,6 @@ import chat.rocket.android.layouthelper.chatroom.dialog.RoomMemberListAdapter
*/
*/
class
RoomDialogFragment
:
DialogFragment
(),
RoomDialogContract
.
View
{
class
RoomDialogFragment
:
DialogFragment
(),
RoomDialogContract
.
View
{
lateinit
var
roomId
:
String
lateinit
var
roomId
:
String
lateinit
var
roomName
:
String
lateinit
var
roomType
:
String
lateinit
var
roomType
:
String
lateinit
var
hostname
:
String
lateinit
var
hostname
:
String
lateinit
var
token
:
String
lateinit
var
token
:
String
...
@@ -31,7 +30,6 @@ class RoomDialogFragment : DialogFragment(), RoomDialogContract.View {
...
@@ -31,7 +30,6 @@ class RoomDialogFragment : DialogFragment(), RoomDialogContract.View {
companion
object
{
companion
object
{
fun
newInstance
(
roomId
:
String
,
fun
newInstance
(
roomId
:
String
,
roomName
:
String
,
roomType
:
String
,
roomType
:
String
,
hostname
:
String
,
hostname
:
String
,
token
:
String
,
token
:
String
,
...
@@ -39,7 +37,6 @@ class RoomDialogFragment : DialogFragment(), RoomDialogContract.View {
...
@@ -39,7 +37,6 @@ class RoomDialogFragment : DialogFragment(), RoomDialogContract.View {
actionId
:
Int
):
RoomDialogFragment
{
actionId
:
Int
):
RoomDialogFragment
{
val
args
=
Bundle
()
val
args
=
Bundle
()
args
.
putString
(
"roomId"
,
roomId
)
args
.
putString
(
"roomId"
,
roomId
)
args
.
putString
(
"roomName"
,
roomName
)
args
.
putString
(
"roomType"
,
roomType
)
args
.
putString
(
"roomType"
,
roomType
)
args
.
putString
(
"hostname"
,
hostname
)
args
.
putString
(
"hostname"
,
hostname
)
args
.
putString
(
"token"
,
token
)
args
.
putString
(
"token"
,
token
)
...
@@ -56,7 +53,6 @@ class RoomDialogFragment : DialogFragment(), RoomDialogContract.View {
...
@@ -56,7 +53,6 @@ class RoomDialogFragment : DialogFragment(), RoomDialogContract.View {
override
fun
onCreate
(
savedInstanceState
:
Bundle
?)
{
override
fun
onCreate
(
savedInstanceState
:
Bundle
?)
{
super
.
onCreate
(
savedInstanceState
)
super
.
onCreate
(
savedInstanceState
)
roomId
=
arguments
.
getString
(
"roomId"
)
roomId
=
arguments
.
getString
(
"roomId"
)
roomName
=
arguments
.
getString
(
"roomName"
)
roomType
=
arguments
.
getString
(
"roomType"
)
roomType
=
arguments
.
getString
(
"roomType"
)
hostname
=
arguments
.
getString
(
"hostname"
)
hostname
=
arguments
.
getString
(
"hostname"
)
token
=
arguments
.
getString
(
"token"
)
token
=
arguments
.
getString
(
"token"
)
...
@@ -79,7 +75,13 @@ class RoomDialogFragment : DialogFragment(), RoomDialogContract.View {
...
@@ -79,7 +75,13 @@ class RoomDialogFragment : DialogFragment(), RoomDialogContract.View {
override
fun
onViewCreated
(
view
:
View
,
savedInstanceState
:
Bundle
?)
{
override
fun
onViewCreated
(
view
:
View
,
savedInstanceState
:
Bundle
?)
{
super
.
onViewCreated
(
view
,
savedInstanceState
)
super
.
onViewCreated
(
view
,
savedInstanceState
)
presenter
.
getDataSet
(
roomId
,
roomName
,
roomType
,
hostname
,
token
,
userId
,
actionId
)
presenter
.
getDataSet
(
roomId
,
roomType
,
hostname
,
token
,
userId
,
actionId
)
}
}
override
fun
showPinnedMessages
()
{
override
fun
showPinnedMessages
()
{
...
...
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