Currently I use an Activity which finishes immediately, thus pulling the last Activity from the app stack.
public class ViewlessActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
finish();
}
}
Is there any better solution?
Aucun commentaire:
Enregistrer un commentaire