예제 #1
0
 @Override
 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
   Log.v("Visited", "Checked changed to: " + isChecked);
   listener.onPointOfInterestCheckedChanged(pointOfInterest);
 }
예제 #2
0
 @Override
 public boolean onLongClick(View v) {
   listener.onPointOfInterestLongClick(pointOfInterest);
   return true;
 }
예제 #3
0
 @Override
 public void onClick(View v) {
   listener.onPointOfInterestClick(pointOfInterest);
   // Toast.makeText(itemView.getContext(), pointOfInterest.getTitle(),
   // Toast.LENGTH_SHORT).show();
 }