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
ea527b52
Commit
ea527b52
authored
Jan 04, 2019
by
Varun Patil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix code style
parent
21e1da00
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
app/src/main/java/app/insti/adapter/CardAdapter.java
app/src/main/java/app/insti/adapter/CardAdapter.java
+2
-0
app/src/main/java/app/insti/fragment/BodyFragment.java
app/src/main/java/app/insti/fragment/BodyFragment.java
+1
-1
No files found.
app/src/main/java/app/insti/adapter/CardAdapter.java
View file @
ea527b52
...
@@ -124,6 +124,8 @@ public abstract class CardAdapter<T extends CardInterface> extends RecyclerView.
...
@@ -124,6 +124,8 @@ public abstract class CardAdapter<T extends CardInterface> extends RecyclerView.
case
4
:
case
4
:
((
BodyHeadCard
)
tList
.
get
(
i
)).
bindView
((
BodyHeadViewHolder
)
holder
,
mFragment
);
((
BodyHeadCard
)
tList
.
get
(
i
)).
bindView
((
BodyHeadViewHolder
)
holder
,
mFragment
);
return
;
return
;
default
:
return
;
}
}
}
}
...
...
app/src/main/java/app/insti/fragment/BodyFragment.java
View file @
ea527b52
...
@@ -181,7 +181,7 @@ public class BodyFragment extends BackHandledFragment implements TransitionTarge
...
@@ -181,7 +181,7 @@ public class BodyFragment extends BackHandledFragment implements TransitionTarge
private
void
displayBody
()
{
private
void
displayBody
()
{
/* Skip if we're already destroyed */
/* Skip if we're already destroyed */
if
(
getActivity
()
==
null
||
getView
()
==
null
)
return
;
if
(
getActivity
()
==
null
||
getView
()
==
null
)
return
;
if
(
!(
body
==
min_body
)
)
bodyDisplayed
=
true
;
if
(
body
!=
min_body
)
bodyDisplayed
=
true
;
bodyPicture
=
(
ImageView
)
getActivity
().
findViewById
(
R
.
id
.
body_picture
);
bodyPicture
=
(
ImageView
)
getActivity
().
findViewById
(
R
.
id
.
body_picture
);
...
...
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