use of com.simplecity.amp_library.utils.FileBrowser in project Shuttle by timusus.
the class FolderFragment method onCreate.
@Override
public void onCreate(final Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
disposables = new CompositeDisposable();
adapter = new ViewModelAdapter();
fileBrowser = new FileBrowser();
if (savedInstanceState != null) {
currentDir = savedInstanceState.getString(ARG_CURRENT_DIR);
}
displayedInTabs = getArguments().getBoolean(ARG_DISPLAYED_IN_TABS);
if (displayedInTabs) {
setHasOptionsMenu(true);
}
}
use of com.simplecity.amp_library.utils.FileBrowser in project Shuttle by timusus.
the class FolderFragment method onCreate.
@Override
public void onCreate(final Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
disposables = new CompositeDisposable();
adapter = new ViewModelAdapter();
fileBrowser = new FileBrowser(settingsManager);
if (savedInstanceState != null) {
currentDir = savedInstanceState.getString(ARG_CURRENT_DIR);
}
displayedInTabs = getArguments().getBoolean(ARG_DISPLAYED_IN_TABS);
if (displayedInTabs) {
setHasOptionsMenu(true);
}
}
Aggregations