use of kogvet.eye.MainActivity in project Eye by tommyolsson.
the class FragmentBooking method onCreateView.
@Nullable
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.fragment_booking, container, false);
((MainActivity) getActivity()).setActionBarTitle(getResources().getString(R.string.menu_booking));
((MainActivity) getActivity()).showBackButton();
mSwipeRefreshLayout = view.findViewById(R.id.swiperefresh);
mSwipeRefreshLayout.setOnRefreshListener(new SwipeRefreshLayout.OnRefreshListener() {
@Override
public void onRefresh() {
myUpdateOperation();
}
});
return view;
}
Aggregations