Skip to content

Instantly share code, notes, and snippets.

View unyo's full-sized avatar

Cody Moniz unyo

View GitHub Profile
@unyo
unyo / ExampleDialog.java
Last active April 25, 2023 03:01 — forked from codinginflow/ExampleDialog.java
Simple AlertDialog Tutorial
package com.example.myapplication;
import android.app.Dialog;
import android.content.DialogInterface;
import android.os.Bundle;
import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.app.AppCompatDialogFragment;
public class ExampleDialog extends AppCompatDialogFragment {