Created
November 6, 2021 12:33
-
-
Save fmedlin/f811fe0217309edcd045b4da6f694306 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ClickHandler.handleClick(view.findViewById(R.id.about_blog), v -> { | |
try { | |
BrowserUtils.launchBrowserOrShowError(requireContext(), SIMPLENOTE_BLOG_URL); | |
} catch (Exception e) { | |
Toast.makeText(getActivity(), R.string.no_browser_available, Toast.LENGTH_LONG).show(); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment