package org.qtrp.nadir.Activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.util.Log;
import android.view.View;

import org.qtrp.nadir.R;

public class RollActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_roll_acticity);

        Intent intent = getIntent();
        Integer roll_id = intent.getIntExtra("roll_id", -1);

        Log.i("Roll id: ", roll_id.toString());
    }

    @Override
    public void onBackPressed(){
        super.onBackPressed();
        finish();
    }
}

@@ -636,15 +636,12 @@
     
-Integer
+Long
  rol
@@ -657,19 +657,20 @@
 tent.get
-Int
+Long
 Extra(%22r

Change int to long to pass id correctly