Looking for a blocking,value returning dialog like custom construct in android.
Something like this:
Output outValue = MyPopupBuildingClass.showWindow(inValue, R.layout.my_layout);
Yes that’s the all too familiar MessageBox for Windows programmers 🙂 and I think there is JOptionPane in Swing too.
The complexity here is that I don’t want a small default android dialog, but more of a popup fragment with some detailed layout and functionality. It accepts an object, pops up a window, lets user do something to it and return it back when user accepts or dismiss.
Any thoughts?
Like @Luksprog said in comments, Blocking dialogs in android are hard to implement and should be avoided.