package com.example.octoissues;

import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.EditText;

public class EditOwnerRepoDialog extends DialogFragment {
	private EditText editOwner;
	private EditText editRepo;
	
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
            Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_owner_repo, container);
        editOwner = (EditText) view.findViewById(R.id.owner_name);
        editRepo = (EditText) view.findViewById(R.id.repo_name);
        getDialog().setTitle("Enter Owner and Repo");

        return view;
    }


}

@@ -98,16 +98,46 @@
 agment;%0A
+import android.view.KeyEvent;%0A
 import a
@@ -257,66 +257,281 @@
 xt;%0A
-%0Apublic class EditOwnerRepoDialog extends DialogFragment %7B
+import android.widget.TextView;%0Aimport android.widget.TextView.OnEditorActionListener;%0A%0Apublic class EditOwnerRepoDialog extends DialogFragment implements OnEditorActionListener%7B%0A%09%0A%09public interface EditRepoDialogListener %7B%0A%09%09void onFinishEditDialog(String inputText);%0A%09%7D%0A%09
 %0A%09pr
@@ -1010,11 +1010,154 @@
 %0A    %7D%0A%0A
+%09@Override%0A%09public boolean onEditorAction(TextView v, int actionId, KeyEvent event) %7B%0A%09%09// TODO Auto-generated method stub%0A%09%09return false;%0A%09%7D%0A%0A
 %0A%7D%0A

Implement OnEditorActionListener and add interface for EditRepoDialogListener