Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
5 (https://github.com/ankitdubey021/MyAlertDialog/stargazers?utm_source=android-
arsenal.com&utm_medium=referral&utm_campaign=6486) 1
(https://github.com/ankitdubey021/MyAlertDialog/watchers?utm_source=android-
arsenal.com&utm_medium=referral&utm_campaign=6486) 4
(https://github.com/ankitdubey021/MyAlertDialog/network?utm_source=android-
arsenal.com&utm_medium=referral&utm_campaign=6486) 1
(https://github.com/ankitdubey021/MyAlertDialog/issues?utm_source=android-
arsenal.com&utm_medium=referral&utm_campaign=6486)
(https://facebook.com/sharer.php?
General u=https://android-
Category
arsenal.com/details/1/6486)
Free (/free)
Tag
(https://twitter.com/intent/twe
arsenal.com/details/1/6486&text=The%20An
Dialogs (/tag/30)
License %20Dialogs%20-%20PerfectDialog
MIT License (http://opensource.org/licenses/MIT?utm_source=android-arsenal.com&utm_medium=referr
(http://news.ycombinator.com/submitlink
al&utm_campaign=6486)
arsenal.com/details/1/6486&t=The%20Andro
Min SDK
14 (Android 4.0–4.0.2 Ice Cream Sandwich) (/api?level=14)
Registered
%20Dialogs%20-
Nov 23, 2017
Favorites
(https://plus.google.com/share?
0 url=https://android-
Link arsenal.com/details/1/6486)
https://github.com/ankitdubey021/MyAlertDialog (https://github.com/ankitdubey021/MyAlertDialog?utm_s
(https://reddit.com/subm
ource=android-arsenal.com&utm_medium=referral&utm_campaign=6486)
arsenal.com/details/1/6486&title=The%20An
See also
BubbleAlert (/details/1/6017)
Wink (/details/1/4282) %20Dialogs%
LongPressPopup (/details/1/4689)
MissMe (/details/1/6825)
SimpleDialogFragment (/details/1/5231)
Additional
Language
Java
Version
1.0.3 (Dec 8, 2017) (https://github.com/ankitdubey021/MyAlertDialog/releases/tag/1.0.3?utm_source=and
roid-arsenal.com&utm_medium=referral&utm_campaign=6486)
Created
Nov 22, 2017
Updated
May 22, 2018
Owner
Ankit Dubey (ankitdubey021) (/user/ankitdubey021)
Contributors
2 (https://github.com/ankitdubey021/MyAlertDialog/graphs/contributors?utm_source=android-arsenal.com
&utm_medium=referral&utm_campaign=6486)
Activity
Badge
Generate
Download
Source code
APK file
Advertisement
MyAlertDialog
(https://github.com/ankitdubey021/MyAlertDialog/blob/master/snapshot%5B1%5D.png?
utm_source=android-arsenal.com&utm_medium=referral&utm_campaign=6486)
Releases
this is the first release of library, which contains buttons in rectangle form.
compile 'com.github.ankitdubey021:MyAlertDialog:1.0.2'
compile 'com.github.ankitdubey021:MyAlertDialog:1.0.3'
+ new EasyCustomDialog.Builder(this,"Exit!")
.setSubTitle("Are you Sure?")
//.setHeader("Hello Guest")
//.setIcon(getResources().getDrawable(R.drawable.ic_error_outline_black_24d
//.setIcon(ContextCompat.getDrawable(this, R.drawable.animlogo))
.setPositiveBtnText("Yes")
.setNegativeBtnText("No")
.onConfirm(new EasyCustomDialogListener() {
@Override
public void execute() {
Toast.makeText(getApplicationContext(),"Ok",Toast.LENGTH_LONG).show
}
})
.onCancel(new EasyCustomDialogListener() {
@Override
public void execute() {
Toast.makeText(getApplicationContext(),"Cancel",Toast.LENGTH_LONG).
}
})
.build();
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial
portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.