Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- iv.setOnClickListener(new View.OnClickListener() {
- @Override
- public void onClick(View v)
- {
- System.out.println("Position:"+position);
- if(!focus){
- System.out.println("color orange");
- focus=true;
- }else{
- System.out.println("color yellow");
- focus=false;
- }
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement