How to create android dialogs in a reusable manner

from blog Prahlad Yeri, | ↗ original
Creating dialogs is a very common need in your app to show a dialog box to the user in order to fetch a value, be it a mobile, desktop or even a web application. Furthermore, the values can range from anything like simple OK-Cancel dialog results to a list of “check-able” values or even a date-range. {.alignnone .wp-image-209 width=”60”...