protected void whichShow(int size) {
    if (size > 0) {
      base_listview_zero_bg.setVisibility(View.GONE);
      absListView.setVisibility(View.VISIBLE);
    } else {
      base_zero_button.setText(zero_button_hint);
      base_zero_imageview.setImageResource(zero_imageview_hint);
      base_zero_textview.setText(zero_text_hint);

      base_listview_zero_bg.setVisibility(View.VISIBLE);
      absListView.setVisibility(View.INVISIBLE);
    }
  }
  @Override
  public void onViewCreated(View view, Bundle savedInstanceState) {
    super.onViewCreated(view, savedInstanceState);

    if (currentView == null) return;

    NodesAdapter nodesAdapter = new NodesAdapter(getActivity(), nodes, pickedFiles);

    if (viewType.equals(THUMBNAILS_VIEW)) nodesAdapter.setThumbnail(true);

    currentView.setAdapter(nodesAdapter);

    currentView.setOnItemClickListener(
        new AdapterView.OnItemClickListener() {
          @Override
          public void onItemClick(AdapterView<?> parent, View view, int position, long id) {

            // Clicked node object
            Node node = (Node) parent.getAdapter().getItem(position);

            // If node is dir then open it
            if (node.isDir) {
              getContract().showNextNode(node);
            }
          }
        });

    currentView.setVisibility(View.VISIBLE);

    // Form consists of input for name, text with extension and save button
    initForm();
  }