Search in sources :

Example 1 with SortBottomSheetFragment

use of com.owncloud.android.presentation.ui.files.SortBottomSheetFragment in project android by owncloud.

the class OCFileListFragment method onSortTypeListener.

@Override
public void onSortTypeListener(@NotNull SortType sortType, @NotNull SortOrder sortOrder) {
    SortBottomSheetFragment sortBottomSheetFragment = SortBottomSheetFragment.Companion.newInstance(sortType, sortOrder);
    sortBottomSheetFragment.setSortDialogListener(this);
    sortBottomSheetFragment.show(getChildFragmentManager(), SortBottomSheetFragment.TAG);
}
Also used : SortBottomSheetFragment(com.owncloud.android.presentation.ui.files.SortBottomSheetFragment)

Example 2 with SortBottomSheetFragment

use of com.owncloud.android.presentation.ui.files.SortBottomSheetFragment in project android by owncloud.

the class ReceiveExternalFilesActivity method onSortTypeListener.

@Override
public void onSortTypeListener(@NotNull SortType sortType, @NotNull SortOrder sortOrder) {
    SortBottomSheetFragment sortBottomSheetFragment = SortBottomSheetFragment.Companion.newInstance(sortType, sortOrder);
    sortBottomSheetFragment.setSortDialogListener(this);
    sortBottomSheetFragment.show(getSupportFragmentManager(), SortBottomSheetFragment.TAG);
}
Also used : SortBottomSheetFragment(com.owncloud.android.presentation.ui.files.SortBottomSheetFragment)

Aggregations

SortBottomSheetFragment (com.owncloud.android.presentation.ui.files.SortBottomSheetFragment)2