Simple Way to share with dialog.
Add maven jitpack.io and dependencies in build.gradle (Project) :
// build.gradle projectallprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
// build.gradle app/moduledependencies {
...
implementation 'com.github.gzeinnumer:ShareErrorReportTo:version'
implementation 'com.github.gzeinnumer:SimpleMaterialStyle:last-version'//check last version on https://github.com/gzeinnumer/SimpleMaterialStyle
}Add This Line to res/color.xml. Important
<?xml version="1.0" encoding="utf-8"?>
<resources>
<colorname="colorPrimary">#6200EE</color>
<colorname="colorPrimaryDark">#3700B3</color>
<colorname="colorAccent">#03DAC5</color>
</resources>Share Error Via Wahatapps
Stringerror = "error";
newShareErrorDialog(getSupportFragmentManager()).builder().setErrorMessage(error).show();Stringrequest = gson.toJson(data);
Stringendpoint = "localhost/api/store";
Stringerror = endpoint + "_" + request;- 1.0.1
- First Release
- 1.0.2
- First Release
You can sent your constibution to branchopen-pull.
Fore More All My Library
Copyright 2021 M. Fadli Zein