Skip to content

Commit

Permalink
fix lambda expression in app example
Browse files Browse the repository at this point in the history
  • Loading branch information
VEINHORN committed Feb 10, 2019
1 parent b605a04 commit e889173
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/com/veinhorn/example/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ public class MainActivity extends AppCompatActivity {
.withHiddenThumbnails(false)
.hideThumbnailsOnClick(true)
.hideThumbnailsAfter(5000)
.addOnImageClickListener(() -> {
Log.i(getClass().getName(), "You have clicked on image");
.addOnImageClickListener((position) -> {
Log.i(getClass().getName(), "You have clicked on image #" + position);
})
.setFragmentManager(getSupportFragmentManager());

Expand Down

0 comments on commit e889173

Please sign in to comment.