For all who dont want to read all the above, here is what i want to:
private boolean makeCDialog() creates a customized Dialog with an
EditText and OK / Cancel.
On pressing ok (so in the OnClickListener) the whole method should
return either TRUE or FALSE. Since the onClickListener is something
Wrap the boolean result in another type, e.g. AtomicBoolean, make it
final so it can be accessed in the inner class and then use the
result, e.g.:
final AtomicBoolean allowSettingNewPassword = new AtomicBoolean(false);
...
in the onClick:
allowSettingNewPassword.set(oldpass.equals(checkoldpass))
Hi Neils,
Why not write the CDialog as it's own Activity, then set the theme to
transparent so it looks like a Dialog. Then you can use
startActivityForResult() and pass values to/from the new intent.
Just a thought.
Timbobsteve
niels wrote:
For all who dont want to read all the above,
3 matches
Mail list logo