阅读背景:

我可以在其他类中创建活动的对象吗?

来源:互联网 

i have defined a function in mainactivity now i want to access with another class in my app.I have created a object of the mainactivity by using that object i have called the function.It is not showing any error but its not executing every time i try to execute the app crashes? any solutionsi have defined a function in mainactivity now i




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: