Permalink
Browse files

Made a few methods public so this class can be used from outside of i…

…ts package
  • Loading branch information...
1 parent efd0a8e commit e62625b82227c837a984aedb435545ee1f626486 @commonsguy committed Jul 20, 2009
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/com/commonsware/android/vidtry/TappableSurfaceView.java
@@ -39,11 +39,11 @@ public boolean onTouchEvent(MotionEvent event) {
return(true);
}
- void addTapListener(TapListener l) {
+ public void addTapListener(TapListener l) {
listeners.add(l);
}
- void removeTapListener(TapListener l) {
+ public void removeTapListener(TapListener l) {
listeners.remove(l);
}
@@ -59,7 +59,7 @@ public boolean onSingleTapUp(MotionEvent e) {
}
};
- interface TapListener {
+ public interface TapListener {
void onTap(MotionEvent event);
}
}

0 comments on commit e62625b

Please sign in to comment.