Code example for Bundle

Methods: getIntgetStringArrayList

    protected void onRestoreInstanceState(Bundle savedInstanceState) {
        mTestsList = savedInstanceState.getStringArrayList("testsList");
        mTotalTestCount = savedInstanceState.getInt("totalCount");
     * (Re)starts the executer activity from the given test number (inclusive, 0-based). 
     * This number is an index in mTestsList, not the sublist passed in the intent. 
     * @param startFrom 
     *      test index in mTestsList to start the tests from (inclusive, 0-based) 
    private void restartExecutor(int startFrom) {
        Intent intent = new Intent();
        intent.setClass(this, LayoutTestsExecutor.class);
Contextual code suggestions in your IDE  Get Codota for Java