I have found when using jRDC2 that if a new activity is started before a request has finished in the first activity, the new activity will close once the request has finished.
E.G
The app is opened, which starts the DB request.
The user immediately clicks on a button which starts a new activity.
** Activity (Main) Pause, UserClosed = false **
** Activity (Second) Create, isFirst = true **
The DB returns a result which then causes:
** Activity (Main) Resume **
I guess this makes sense as RequestManager returns the result to the Activity from which it was started.
Is there anyway of stopping this from happening apart from calling activity.finish in Activity(Main) when starting Activity(Second)?
E.G
The app is opened, which starts the DB request.
The user immediately clicks on a button which starts a new activity.
** Activity (Main) Pause, UserClosed = false **
** Activity (Second) Create, isFirst = true **
The DB returns a result which then causes:
** Activity (Main) Resume **
I guess this makes sense as RequestManager returns the result to the Activity from which it was started.
Is there anyway of stopping this from happening apart from calling activity.finish in Activity(Main) when starting Activity(Second)?