Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
InstiApp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
RAHUL SHARMA
InstiApp
Commits
e7db785c
Commit
e7db785c
authored
Oct 12, 2018
by
sshivam95
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add progress bar before loading the compaint fragment
parent
098e3d2c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
app/src/main/java/app/insti/fragment/ComplaintFragment.java
app/src/main/java/app/insti/fragment/ComplaintFragment.java
+1
-0
app/src/main/res/layout/fragment_complaint.xml
app/src/main/res/layout/fragment_complaint.xml
+1
-0
No files found.
app/src/main/java/app/insti/fragment/ComplaintFragment.java
View file @
e7db785c
...
@@ -91,6 +91,7 @@ public class ComplaintFragment extends Fragment {
...
@@ -91,6 +91,7 @@ public class ComplaintFragment extends Fragment {
}
}
initViewPagerForImages
(
complaint
);
initViewPagerForImages
(
complaint
);
initTabViews
(
complaint
);
initTabViews
(
complaint
);
//Make progress circle gone After loading
getActivity
().
findViewById
(
R
.
id
.
loadingPanel
).
setVisibility
(
View
.
GONE
);
getActivity
().
findViewById
(
R
.
id
.
loadingPanel
).
setVisibility
(
View
.
GONE
);
}
}
}
}
...
...
app/src/main/res/layout/fragment_complaint.xml
View file @
e7db785c
...
@@ -80,6 +80,7 @@
...
@@ -80,6 +80,7 @@
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:gravity=
"center"
>
android:gravity=
"center"
>
<!--Progress Bar will show unless the data is being loaded-->
<ProgressBar
<ProgressBar
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
...
...
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