Popularity
1.3
Stable
Activity
0.0
Stable
22
3
4

Programming language: Java
Latest version: v2.3

GenericDialog alternatives and similar packages

Based on the "Dialog Widget" category.
Alternatively, view GenericDialog alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of GenericDialog or a related project?

Add another 'Dialog Widget' Package

README

Android Arsenal

GenericDialog

A new AlertDialog for Android is here...!!

Getting Started

Installation

Add this into your root build.gradle file:

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

Add the dependency to your module build.gradle:

implementation 'com.github.jaidevnaik5886:GenericDialog:2.2'
implementation 'com.github.jaidevnaik5886:GenericDialog:2.3' //For AndroidX Support

Usage

    new GenericDialog.Builder(this)
                .setDialogFont(R.font.nunito_bold)
                .setDialogTheme(R.style.GenericDialogTheme)
                .setIcon(android.R.drawable.checkbox_on_background)
                .setTitle("Success  !").setTitleAppearance(R.color.colorPrimaryDark, 16)
                .setMessage("Data Collected Successfully")
                .addNewButton(R.style.CustomButton, new GenericDialogOnClickListener() {
                    @Override
                    public void onClick(View view) {
                        Toast.makeText(MainActivity.this, "OK later Clicked", Toast.LENGTH_SHORT).show();
                    }
                })
                .setButtonOrientation(LinearLayout.HORIZONTAL)
                .setCancelable(true)
                .generate();

ScreenShots

alt text

ko-fi