Monday, January 7, 2013

[android-developers] Contextual Action Mode and legacy support

I'd like to add CAM for my app - but remain compatible
with pre android 3.0.

seems like one has to use the interface below - available in android 3.0 and later.

private
ActionMode.Callback mActionModeCallback = new ActionMode.Callback() {
}

I'm using reflection and know how to find an instance method at runtime.

But how does one find an interface at runtime - and define the associated callback
methods.

thanks.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate