Android Question how to manage object activity into class?

Roberto P.

Well-Known Member
Licensed User
Longtime User
I ask for help to understand how to manage the need for a dialogue between a module with a class activity.
I mean, I've created a module-type activity to manage the interface and a class to implement its management (business logic).
I can not "pass" the object activity within the class to handle its members. as in C + +, I would like to pass a pointer \ reference class in generic class activity.
I hope I have explained clearly.
thanks
 

DonManfred

Expert
Licensed User
Longtime User
I would try first Italian one, we understand each other better. Then the Questions

But that would mean that he would have to rely on YOUR knowledge!?. maybe a fault? :D

PS: Sorry, Luca :) I could not resist ;) :D:rolleyes:
 
Upvote 0

Roberto P.

Well-Known Member
Licensed User
Longtime User
[Quote = "DonManfred, palo: 250.284, membro: 42649"] è possibile creare un sub in attività e chiamare questo sub dal sub class.The dispone di tutte le autorizzazioni di utilizzare o modificare i membri e le proprietà
Che cosa esattamente si vuole archieve? [/ Quote]

hello DonManfred,
I thank you for your information that allowed me to understand and operate the program.

I did a bit of trouble reading the data from the class activity. I solved the problem by creating a new data type, a member of the generic class, which is enhanced by the class activity. I do not know if it's the best way, but it works.

if anyone needs step parts of the code.

thanks again and greetings
 
Upvote 0
Top