From afdadeee010057857e48a30f66e2fead688ddfab Mon Sep 17 00:00:00 2001 From: Laurent Sansonetti Date: Fri, 25 Apr 2014 15:31:19 +0200 Subject: [PATCH] getAction -> action --- android-samples/Hello/app/main_activity.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android-samples/Hello/app/main_activity.rb b/android-samples/Hello/app/main_activity.rb index d8629ad4..202735ae 100644 --- a/android-samples/Hello/app/main_activity.rb +++ b/android-samples/Hello/app/main_activity.rb @@ -11,7 +11,7 @@ class MainActivity < Android::App::Activity def dispatchTouchEvent(event) @counter ||= 0 - case event.getAction + case event.action when Android::View::MotionEvent::ACTION_UP @counter += 1 @text.text = "Touched #{@counter} times!"