Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void share(final Shareable shareable) {
- // Validate null
- if (shareable == null) return;
- String sharedText = shareable.share();
- // Do something with sharedText
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement