简单易用的Android对话框: DialogPlus
                 jopen
                 11年前
            
                    DialogPlus是一个简单易用的Android对话框解决方案。
DialogPlus 提供3种位置类型:
- 顶部: 对话框将用动画出现在顶部
- 中间: 对话框将用动画出现在中间
- 底部: 对话框将用动画出现在屏幕的底部
DialogPlus 提供3种内容类型:
- ListHolder : Items will be shown in a listview
- GridHolder : Items will be shown in a gridview
- ViewHolder : Your customized view will be shown in the content
Gradle
repositories {      maven { url "https://oss.sonatype.org/content/repositories/snapshots/"}  }  dependencies {      compile 'com.orhanobut:dialogplus:1.2-SNAPSHOT@aar' }用法
使用构建器来创建对话框:
DialogPlus dialog = new DialogPlus.Builder(this)          .setAdapter(adapter)          .setOnItemClickListener(new OnItemClickListener() {              @Override              public void onItemClick(DialogPlus dialog, Object item, View view, int position) {              }          })          .create();  dialog.show();









