I am developing android application in which for validations, it displays messages with alert box. I wanted to add buttons dynamically according to certain conditions. I like ask how to do this? I searched on Google, but couldn’t find any suitable solutions.
Any Suggestions are helpful.
Thanks.
i got the answer, I used Command Design pattern with help of CommandWrapper.
The following link elaborate more precisely. link
Thank you for everyone for their suggestions.