using nested Interfaces for communication between two classes in java / android
问题 can anyone tell me if I am right or wrong? I am really getting confused in solving my problem. What I have is (or what I want to do Or am thinking is:) I have: Class B{ ........ ........ interface I{ ...... ........ } ....... ....... } and : Class A implements B.I{ ........ ....... B b= new B(); } Is it the right way of communication between two classes class B and Class A? how should i make this work. I want some data from class A passed to class B for further operations. how should i make