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
38486d85
Commit
38486d85
authored
Jan 25, 2017
by
Yusuke Iwaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unused Fragment
parent
577772d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
51 deletions
+0
-51
WaitingFragment.java
...ocket/android/fragment/server_config/WaitingFragment.java
+0
-51
No files found.
app/src/main/java/chat/rocket/android/fragment/server_config/WaitingFragment.java
deleted
100644 → 0
View file @
577772d0
package
chat
.
rocket
.
android
.
fragment
.
server_config
;
import
android.os.Bundle
;
import
android.view.View
;
import
android.widget.TextView
;
import
chat.rocket.android.R
;
import
chat.rocket.android.helper.TextUtils
;
/**
* Just showing "connecting..." screen.
*/
public
class
WaitingFragment
extends
AbstractServerConfigFragment
{
private
String
caption
;
public
WaitingFragment
()
{
}
/**
* create new "Waiting..." screen with caption.
*/
public
static
WaitingFragment
create
(
String
caption
)
{
Bundle
args
=
new
Bundle
();
args
.
putString
(
"caption"
,
caption
);
WaitingFragment
fragment
=
new
WaitingFragment
();
fragment
.
setArguments
(
args
);
return
fragment
;
}
@Override
protected
int
getLayout
()
{
return
R
.
layout
.
fragment_waiting
;
}
@Override
protected
void
onSetupView
()
{
Bundle
args
=
getArguments
();
if
(
args
!=
null
)
{
caption
=
args
.
getString
(
"caption"
);
}
TextView
captionView
=
(
TextView
)
rootView
.
findViewById
(
R
.
id
.
txt_caption
);
if
(
TextUtils
.
isEmpty
(
caption
))
{
captionView
.
setVisibility
(
View
.
GONE
);
}
else
{
captionView
.
setText
(
caption
);
captionView
.
setVisibility
(
View
.
VISIBLE
);
}
}
}
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