Re: [android-developers] callback between custom classes

2013-03-09 Thread TreKing
On Sat, Mar 9, 2013 at 2:56 AM, and Dev 123 wrote: > Most of the samples I found are for classes that implements some listener. > That's generally how it's done in Java. - TreKing

[android-developers] callback between custom classes

2013-03-09 Thread and Dev 123
Hi, I've a need to communicate between two classes. For the moment I'm solving this just passing a reference for class A to class B. Class B then uses public methods exposed by class A and accessed by reference passed from class A to class B. I've got the feeling that this is a little old fasho