> > How to get access to these methods correctly? > > Move the code from ProblematicClass into MainActivity. > Or, if you are careful, you can pass your instance > of MainActivity to ProblematicClass. Or, if you are > careful, you can make ProblematicClass an inner class of > MainActivity.
I'll elaborate in this direction. If I encounter further problems I open a new thread. Thanks for your help. Marco -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en