@SuppressLint("ValidFragment")
 VKShareDialogNative(VKShareDialogBuilder builder) {
   mDelegate.setAttachmentImages(builder.attachmentImages);
   mDelegate.setText(builder.attachmentText);
   if (builder.linkTitle != null && builder.linkUrl != null) {
     mDelegate.setAttachmentLink(builder.linkTitle, builder.linkUrl);
   }
   mDelegate.setUploadedPhotos(builder.existingPhotos);
   mDelegate.setShareDialogListener(builder.listener);
 }
 @Override
 public void onCancel(DialogInterface dialog) {
   super.onCancel(dialog);
   mDelegate.onCancel(dialog);
 }
 @Override
 public void onSaveInstanceState(Bundle outState) {
   super.onSaveInstanceState(outState);
   mDelegate.onSaveInstanceState(outState);
 }
 @Override
 @SuppressLint("NewApi")
 public void onStart() {
   super.onStart();
   mDelegate.onStart();
 }
 @NonNull
 @Override
 public Dialog onCreateDialog(Bundle savedInstanceState) {
   return mDelegate.onCreateDialog(savedInstanceState);
 }