rubensousa / GravitySnapHelper

A SnapHelper that snaps a RecyclerView to an edge.
Apache License 2.0
5k stars 615 forks source link

How to get Context #15

Closed jiankian closed 7 years ago

jiankian commented 7 years ago

On /app/src/main/java/com/github/rubensousa/recyclerviewsnap/Adapter.java how to get Application Context? eg. I want to set a click to start new Intent or Make a Toast

rubensousa commented 7 years ago

Pass it in the constructor. This is not related to the sample, so I'm closing this. Please use StackOverflow for this kind of questions