Added new download dialog
This commit is contained in:
parent
c622923edd
commit
3beafa2a74
3 changed files with 171 additions and 89 deletions
|
|
@ -579,8 +579,7 @@ public class VideoItemDetailFragment extends Fragment {
|
|||
}
|
||||
|
||||
args.putString(DownloadDialog.TITLE, info.title);
|
||||
DownloadDialog downloadDialog = new DownloadDialog();
|
||||
downloadDialog.setArguments(args);
|
||||
DownloadDialog downloadDialog = DownloadDialog.newInstance(args);
|
||||
downloadDialog.show(activity.getSupportFragmentManager(), "downloadDialog");
|
||||
} catch (Exception e) {
|
||||
Toast.makeText(VideoItemDetailFragment.this.getActivity(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue