[mono-android] An interface for FindViewById<> ?

Stuart Lodge me at slodge.com
Thu Feb 2 14:49:36 UTC 2012


I'm writing lots of databinding-type-code at the moment and keep finding
myself needing to write duplicate wrapper functions for  FindViewById<>  -
because both Activity and View seem to support it, but neither of them is
the same interface.

Is there any way I can get an extension method to think of Activity and
View as the same thing? Is there a shared interface there already?

Thanks

Stuart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodroid/attachments/20120202/5ba0cca7/attachment.html>


More information about the Monodroid mailing list