Created
October 6, 2015 21:08
-
-
Save zpalexander/ac1134f04ad164ceb5c6 to your computer and use it in GitHub Desktop.
Click Listener for Webview
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Set the click listener for opening the slideshow | |
final int j = i; | |
slide.setOnClickListener(new View.OnClickListener() { | |
@Override | |
public void onClick(View v) { | |
Intent intent = new Intent(getActivity(), SlideshowWebview.class); | |
intent.putExtra("slideshowURL", cards[j].slideshowURL.toString()); | |
intent.putExtra("slideshowTitle", cards[j].title.toString()); | |
startActivity(intent); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment