Created
December 3, 2016 18:00
-
-
Save guuilp/2e5ee7ccffb281178b166184d8a95440 to your computer and use it in GitHub Desktop.
This file contains 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
private NoticiaAdapter.NoticiaOnClickListener onClickNoticia() { | |
return new NoticiaAdapter.NoticiaOnClickListener() { | |
@Override | |
public void onClickNoticia(View view, int idx) { | |
Noticia c = noticias.get(idx); | |
Intent intent = new Intent(getContext(), NoticiaActivity.class); | |
intent.putExtra("noticia", c); | |
startActivity(intent); | |
} | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment