Initial work to add the image of the content in the share sheet
Also do some fixes when sharing a file in downloads and some improvements in JavaDocs of ShareUtils class.
This commit is contained in:
parent
2fb86364ab
commit
d85afd6435
10 changed files with 93 additions and 31 deletions
|
|
@ -234,7 +234,7 @@ public class RouterActivity extends AppCompatActivity {
|
|||
.setPositiveButton(R.string.open_in_browser,
|
||||
(dialog, which) -> ShareUtils.openUrlInBrowser(this, url))
|
||||
.setNegativeButton(R.string.share,
|
||||
(dialog, which) -> ShareUtils.shareText(this, "", url, false)) //no subject
|
||||
(dialog, which) -> ShareUtils.shareText(this, "", url, "")) //no subject
|
||||
.setNeutralButton(R.string.cancel, null)
|
||||
.setOnDismissListener(dialog -> finish())
|
||||
.show();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue