package com.afifzafri.studentsdb;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

public class EditViewData extends AppCompatActivity {

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

@@ -28,16 +28,47 @@
 ntsdb;%0A%0A
+import android.content.Intent;%0A
 import a
@@ -133,16 +133,48 @@
 .Bundle;
+%0Aimport android.widget.EditText;
 %0A%0Apublic
@@ -394,16 +394,228 @@
 w_data);
+%0A%0A        Intent intentPage = getIntent();%0A        String studID = intentPage.getStringExtra(%22STUD_ID%22);%0A%0A        EditText editStudID = (EditText)findViewById(R.id.editStudID);%0A        editStudID.setText(studID);
 %0A    %7D%0A%7D

test get data passed from search activity