Search in sources :

Example 1 with SendFilesDialog

use of com.owncloud.android.ui.dialog.SendFilesDialog in project android by nextcloud.

the class FileOperationsHelper method sendFiles.

public void sendFiles(Set<OCFile> files) {
    // Show dialog
    FragmentManager fm = fileActivity.getSupportFragmentManager();
    FragmentTransaction ft = fm.beginTransaction();
    ft.addToBackStack(null);
    SendFilesDialog sendFilesDialog = SendFilesDialog.newInstance(files);
    sendFilesDialog.show(ft, "TAG_SEND_SHARE_DIALOG");
}
Also used : FragmentManager(androidx.fragment.app.FragmentManager) FragmentTransaction(androidx.fragment.app.FragmentTransaction) SendFilesDialog(com.owncloud.android.ui.dialog.SendFilesDialog)

Aggregations

FragmentManager (androidx.fragment.app.FragmentManager)1 FragmentTransaction (androidx.fragment.app.FragmentTransaction)1 SendFilesDialog (com.owncloud.android.ui.dialog.SendFilesDialog)1