Skip to content

Commit

Permalink
Fix grid tiles turning white.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbutcher committed Feb 17, 2016
1 parent 57f09a8 commit 460fd3c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions app/src/main/java/io/plaidapp/ui/FeedAdapter.java
Original file line number Diff line number Diff line change
Expand Up @@ -251,15 +251,13 @@ private DribbbleShotHolder createDribbbleShotHolder(ViewGroup parent) {
holder.image.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
holder.itemView.setTransitionName(holder.itemView.getResources().getString(R
holder.image.setTransitionName(holder.itemView.getResources().getString(R
.string.transition_shot));
holder.itemView.setBackgroundColor(
ContextCompat.getColor(host, R.color.background_light));
Intent intent = new Intent();
intent.setClass(host, DribbbleShot.class);
intent.putExtra(DribbbleShot.EXTRA_SHOT,
(Shot) getItem(holder.getAdapterPosition()));
setGridItemContentTransitions(holder.itemView);
setGridItemContentTransitions(holder.image);
ActivityOptions options =
ActivityOptions.makeSceneTransitionAnimation(host,
Pair.create(view, host.getString(R.string.transition_shot)),
Expand Down

0 comments on commit 460fd3c

Please sign in to comment.