-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Upgrading from 3.2 to 4.6.0 now all @Subscribe Method not working? #2259
Comments
Have you followed the migration guide? You have to add another dependency. Please see here. https://github.com/androidannotations/androidannotations/wiki/4.0.0-migration-guide |
i did not find any @subscribe method in migration link |
You can find Otto there. |
Yes dear you see my code above I used the same as the following guide, but still @subscribe method not working. even in android show method never used. |
Did you add this dependency to you build.gradle file? annotationProcessor "org.androidannotations:otto:4.6.0" |
No! I forgot to |
After 2 years i upgrade my code to android o now all @subscribe Method is not working?
AndroidAnnotations 4.6.0:
Android compile SDK 28:
import com.squareup.otto.Bus;
in acitivity
usage
bus.post(new ShareVerseEvent(mSurah.getNo(), mViewPager.getCurrentItem() + 1));
and
and this
any method of @subscribe is not working why???
The text was updated successfully, but these errors were encountered: