У меня вопрос. когда вы делаете
FirstActivity.class
Intent intent = new Intent(this, NewActivity.class);
intent.putExtra("KEY", "Some integer ID maybe null");
startactivity(intent);
NewActivtity.class
Intent intent = getIntent()
Integer someId = intent.getExtraInt("KEY", What value must i put?) <<<--- here the problem what must I put?
сейчас я ставлю «-1», но кто-то говорит мне, чтобы я не использовал - 1. может быть, кто-нибудь может дать мне лучший совет о значении по умолчанию.