try using getInt()
savedInstanceState.getInt("Id"+"["+i+"]", 0); //0 is default value
1
solved Null pointer exception while restoring value [closed]
try using getInt()
savedInstanceState.getInt("Id"+"["+i+"]", 0); //0 is default value
1
solved Null pointer exception while restoring value [closed]