Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto Refresh Posts when User Makes a New Post
Summary: FbBroadcastManager.ReceiverBuilder will receive the corresponding broadcast from composer when user publishes a new post. onReceive(Context context, Intent intent, BroadcastReceiverLike receiver) will be called after the post mutation is done, then we are safe to call mRecyclerCollectionEventsController.requestRefresh( to refresh the page. Later, mRecyclerCollectionEventsController.requestScrollToTop(true) when the load succeeded inside of LoadEventsHandler. Differential Revision: D6517905 fbshipit-source-id: 2a8da0a8c60392e7d1b7f3bed72de7fe1fd2e5e8
- Loading branch information