mirror of
https://github.com/bspeice/itcs4180
synced 2024-11-08 16:38:14 -05:00
Slight bug fix
Prevents user from moving backward to a list that does not have items checked.
This commit is contained in:
parent
d386b0b346
commit
dba76dd0a6
@ -15,6 +15,7 @@ import android.view.Menu;
|
||||
import android.view.MenuItem;
|
||||
import android.view.View;
|
||||
import android.view.View.OnClickListener;
|
||||
import android.view.ViewDebug.FlagToString;
|
||||
import android.webkit.WebView;
|
||||
import android.widget.Button;
|
||||
import android.widget.TextView;
|
||||
@ -46,6 +47,7 @@ public class FoundActivity extends Activity {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
intent = new Intent(FoundActivity.this, MainActivity.class);
|
||||
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); // Clear the back stack
|
||||
startActivity(intent);
|
||||
finish();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user