@Override public void onBaseViewCreated(View view, Bundle savedInstanceState) { super.onBaseViewCreated(view, savedInstanceState); mListView = (DragSortListView) view.findViewById(android.R.id.list); mEmptyView = view.findViewById(android.R.id.empty); mEmptyIcon = (ImageView) view.findViewById(R.id.empty_icon); mEmptyText = (TextView) view.findViewById(R.id.empty_text); mListContainer = view.findViewById(R.id.list_container); mProgressContainer = view.findViewById(R.id.progress_container); }
@Override public void onBaseViewCreated(View view, @Nullable Bundle savedInstanceState) { super.onBaseViewCreated(view, savedInstanceState); mProgressContainer = view.findViewById(R.id.progress_container); mSwipeRefreshLayout = (SwipeRefreshLayout) view.findViewById(R.id.swipe_layout); mListView = (ListView) view.findViewById(R.id.list_view); mErrorContainer = view.findViewById(R.id.error_container); mErrorIconView = (ImageView) view.findViewById(R.id.error_icon); mErrorTextView = (TextView) view.findViewById(R.id.error_text); }
@Override public void onBaseViewCreated(View view, @Nullable Bundle savedInstanceState) { super.onBaseViewCreated(view, savedInstanceState); mProgressContainer = view.findViewById(R.id.progress_container); mRecyclerView = (RecyclerView) view.findViewById(R.id.recycler_view); }