class AndroidMotionQuery::AQClickListener
Attributes
activity[RW]
method_name[RW]
Public Class Methods
new(activity, method_name)
click to toggle source
# File lib/android_query/views.rb, line 307 def initialize(activity, method_name) self.activity = activity self.method_name = method_name end
Public Instance Methods
onClick(view)
click to toggle source
# File lib/android_query/views.rb, line 312 def onClick(view) self.activity.send(self.method_name.to_s, view) end