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
9f50138f
Commit
9f50138f
authored
Oct 01, 2018
by
Varun Patil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix comment, whitespace
parent
479e9021
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
app/src/main/java/app/insti/fragment/FeedFragment.java
app/src/main/java/app/insti/fragment/FeedFragment.java
+1
-2
No files found.
app/src/main/java/app/insti/fragment/FeedFragment.java
View file @
9f50138f
...
@@ -163,7 +163,7 @@ public class FeedFragment extends BaseFragment {
...
@@ -163,7 +163,7 @@ public class FeedFragment extends BaseFragment {
feedAdapter
.
notifyDataSetChanged
();
feedAdapter
.
notifyDataSetChanged
();
}
}
// Initialize
adapter
if necessary
// Initialize
RecyclerView
if necessary
if
(
feedRecyclerView
.
getAdapter
()
!=
feedAdapter
)
{
if
(
feedRecyclerView
.
getAdapter
()
!=
feedAdapter
)
{
initRecyclerView
();
initRecyclerView
();
}
}
...
@@ -179,7 +179,6 @@ public class FeedFragment extends BaseFragment {
...
@@ -179,7 +179,6 @@ public class FeedFragment extends BaseFragment {
public
void
run
(
Activity
pActivity
)
{
public
void
run
(
Activity
pActivity
)
{
try
{
try
{
feedRecyclerView
.
setAdapter
(
feedAdapter
);
feedRecyclerView
.
setAdapter
(
feedAdapter
);
}
catch
(
NullPointerException
e
)
{
}
catch
(
NullPointerException
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
}
}
...
...
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