@@ -0,0 +1,1031 @@
+package com.maraudersapp.android;%0A%0Aimport android.app.AlertDialog;%0Aimport android.content.Context;%0Aimport android.content.DialogInterface;%0Aimport android.text.InputType;%0Aimport android.util.Log;%0Aimport android.widget.EditText;%0A%0A/**%0A * Created by Michael on 10/28/2015.%0A */%0Apublic class InputDialog extends AlertDialog.Builder %7B%0A%0A    public interface OnTextEntered %7B%0A        public void onTextEntered(String text);%0A    %7D%0A%0A    public InputDialog(Context ctx, String title, final OnTextEntered callback) %7B%0A        super(ctx);%0A        setTitle(title);%0A        final EditText input = new EditText(ctx);%0A        input.setInputType(InputType.TYPE_CLASS_TEXT);%0A        setView(input);%0A        setPositiveButton(%22Send%22, new DialogInterface.OnClickListener() %7B%0A            @Override%0A            public void onClick(DialogInterface dialog, int which) %7B%0A                Log.i(%22Input dialog%22, %22Text entered: %22 + input.getText().toString());%0A                callback.onTextEntered(input.getText().toString());%0A            %7D%0A        %7D);%0A    %7D%0A%0A%7D%0A

Add create friends and groups