📜  对话框加 android github - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:40.044000             🧑  作者: Mango

代码示例1
DialogPlus dialog = DialogPlus.newDialog(this)
  .setAdapter(adapter)
  .setOnItemClickListener(new OnItemClickListener() {
    @Override
    public void onItemClick(DialogPlus dialog, Object item, View view, int position) {
    }
  })
  .setExpanded(true)  // This will enable the expand feature, (similar to android L share dialog)
  .create();
dialog.show();