android: stack based activity back-key mechanism
<p>I have two activities, one is a list for item, the other one is the edit view for the item. When user clicks the item in the first view, the second edit view will show.</p>

<p>In android the stack based mechanism, if I do this the behavior is weird.</p>

<p>List view -> click -> edit view -> save -> list view -> click -> edit ->... it's a loop.</p>

<p>If I edit and save the item several times the stack will be full of list view &amp; edit view...</p>

<p>Now the user wants to press back key to exit the program, by stack based activity manager, the user will meet up many times of the two activities.</p>

<p>What's the recommend way to resolve this issue?</p>
