Skip to content

Instantly share code, notes, and snippets.

@raulh82vlc
Created March 1, 2021 12:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raulh82vlc/40ec37ff143006891ea6a0a41b6f606b to your computer and use it in GitHub Desktop.
Save raulh82vlc/40ec37ff143006891ea6a0a41b6f606b to your computer and use it in GitHub Desktop.
TweetsListFragmentUI set of entities after declarative stable APIs migration
public class TweetsListFragmentUI extends BaseUI {
// SearchComposablesUI is renamed to SearchUIStateHandler
@Inject SearchUIStateHandler searchUIStateHandler;
@Inject SearchViewDelegate viewDelegate;
// Remove SearchStateHandler instance
public void initStateFlowAndViews() {
// just needs the dependency of the StateFlow
searchUIStateHandler.initStateFlowAndViews(viewDelegate.getStateFlow());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment