Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class ButtonRowType implements RowType {
- private Context context;
- public ButtonRowType(Context context) {
- this.context = context;
- }
- public View.OnClickListener getOnClickListener() {
- return new View.OnClickListener() {
- @Override
- public void onClick(View v) {
- Toast.makeText(context, "Click!", Toast.LENGTH_SHORT).show();
- }
- };
- }
- }
Add Comment
Please, Sign In to add comment