This is the structure I work with:
Project A is a library project
MainActivityA
Activity A1
Activity A2
Activity A3
Project B references Project A
MainActivityB
I created a listener interface in MainActivityB
(onMyCueListener
) and I want to implement the listener in ProjectA activities.
The problem I face is that when I declare class ActivityA1 implements onMyCueListener
on ProjectA, it is not resolved, because MainActivityB
is not known in ProjectA.