Hi, I added your library to my project.
In fragment register bus onCreate method. Then I create event method for subsribe an event like this.
@Subscribe public void removeMatchedUser(MatchedResult result) { Timber.tag("BUS").i("REMOVE USER: " + result.getUser().getUsername()); Timber.tag("BUS").i("SIZE BEFORE: " + mMatchedResultList.size()); removeAndNotify(result); }
In my activity, I post my event like this.
rxBus.post(matchedResult);
I need to remove result event from my list and notify the dataset of adapter.
Hi, I added your library to my project.
In fragment register bus onCreate method. Then I create event method for subsribe an event like this.
@Subscribe public void removeMatchedUser(MatchedResult result) { Timber.tag("BUS").i("REMOVE USER: " + result.getUser().getUsername()); Timber.tag("BUS").i("SIZE BEFORE: " + mMatchedResultList.size()); removeAndNotify(result); }In my activity, I post my event like this.
rxBus.post(matchedResult);I need to remove result event from my list and notify the dataset of adapter.