-
-
Save parzibyte/938d70b16b3a6a1babe85dbad089fe88 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
public void onClick(View view, int position) { | |
Gasto gasto = gastos.get(position); | |
if (gasto.getId() < 0) { | |
Toast.makeText(getContext(), "Ver más", Toast.LENGTH_SHORT).show(); | |
return; | |
} | |
//Aquí lo que se hace si es un elemento normal | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment