how to chain (immediately reuse) the same dialog
<p>I'm trying to create an introduction to my program with a helpful dialog message system.
I don't want to overload the user with too much text at once so I want to break up my dialog into parts.
Each part of course would have its own message.</p>

<p>I use a separate static class to handle message delivery and flow logic; and it's working fine.
I also actually use 3 Dialogs.
One for the first message (since you can't go back), one for the middle message and one for the final message (since you can't go forward).
I'm able to call the middle message from the first message with no problem. I'm also able to return to the first message. But when I try to reshow the middle message from the middle message dialog the new dialog doesn't appear.</p>

<p>Example:
Let's say I have 4 messages, so the middle message will need to appear twice.
1) First message appears:  user clicks next
2) Middle message appears: user clicks previous
3) First message appears:  user clicks next
4) Middle message appears: user clicks next
5) Middle message appears: user clicks next
6) Final message appears</p>

<p>The problem is that I get no dialog on step 5.
I'm using onPrepareDialog to reinitialize the dialogs as they're used. Right now it's basically a clone of onCreateDialog where each case in the switch calls the builder method appropriate for that dialog.</p>

<p>This is the code for my middle dialog method. (The other 2 are about the same. You can guess what they look like from this.)</p>

<pre><code>protected AlertDialog buildMiddleNoticeDialog() {
    AlertDialog.Builder builder = new AlertDialog.Builder(this);
    builder
        .setTitle(Notice.getTitle())
        .setMessage(Notice.getMessage())
        .setCancelable(false)
        .setNegativeButton(resources.getString(R.string.notice_next_button),
            new DialogInterface.OnClickListener() {
                public void onClick(DialogInterface dialog, int id) {
                    showDialog(Notice.next());
                }
            })
        .setPositiveButton(resources.getString(R.string.notice_previous_button),
            new DialogInterface.OnClickListener() {
                public void onClick(DialogInterface dialog, int id) {
                    showDialog(Notice.previous());
                }
            });
    return builder.create();
}
</code></pre>
