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
764dc88f
Commit
764dc88f
authored
Nov 30, 2018
by
Varun Patil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add FIXME to CardAdapter for hash change
parent
a320ad43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
app/src/main/java/app/insti/adapter/CardAdapter.java
app/src/main/java/app/insti/adapter/CardAdapter.java
+2
-0
No files found.
app/src/main/java/app/insti/adapter/CardAdapter.java
View file @
764dc88f
...
...
@@ -67,11 +67,13 @@ public abstract class CardAdapter<T extends CardInterface> extends RecyclerView.
viewHolder
.
subtitle
.
setText
(
t
.
getSubtitle
());
// Set transition names
// FIXME: Replace getTitle() with getId() once that is merged
viewHolder
.
avatar
.
setTransitionName
(
Integer
.
toString
(
t
.
getTitle
().
hashCode
())
+
"_sharedAvatar"
);
if
(
getBigImageUrl
(
t
)
!=
null
)
{
// Show big image, hide avatar
viewHolder
.
bigPicture
.
setVisibility
(
View
.
VISIBLE
);
// FIXME: Replace getTitle() with getId() once that is merged
viewHolder
.
bigPicture
.
setTransitionName
(
Integer
.
toString
(
t
.
getTitle
().
hashCode
())
+
"_sharedBigPicture"
);
viewHolder
.
avatar
.
setVisibility
(
View
.
GONE
);
...
...
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