public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { binding = SessionsFragmentBinding.Inflate(inflater, container, false); HasOptionsMenu = true; InitViewPager(); InitEmptyView(); CompositeSubscription.Add(LoadData()); CompositeSubscription.Add(FetchAndSave()); return(binding.Root); }
public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { binding = SessionsFragmentBinding.Inflate(inflater, container, false); HasOptionsMenu = true; InitViewPager(); InitEmptyView(); CompositeSubscription.Add(LoadData()); CompositeSubscription.Add(FetchAndSave()); return binding.Root; }