Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class MyListener extends Button implements View.OnClickListener
- {
- public MyListener(Context context) {
- super(context);
- init();
- }
- private void init(){
- setOnClickListener(this);
- Log.d("TAG", "init: test");
- }
- @Override
- public void onClick(View v) {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement