Ejemplo n.º 1
0
 @Override
 public void onViewCreated(View view, @Nullable Bundle savedInstanceState) {
   super.onViewCreated(view, savedInstanceState);
   mBreadcrumbs = (PathBreadcrumbs) view.findViewById(R.id.breadcrumbs);
   mBreadcrumbs.setCallback(this);
   updateBreadcrumbs();
   addFragmentForTopOfStack();
 }
Ejemplo n.º 2
0
 private void updateBreadcrumbs() {
   String path = mDirStack.peek();
   mBreadcrumbs.setPath(path);
 }