资源简介

分享一个类似IOS的简单对话框demo,通过简单代码实现一个常用的对话框,方便大家使用。代码简单,使用也简单。

资源截图

代码片段和文件信息

// Generated code from Butter Knife. Do not modify!
package com.codingbird.commondialogdemo;

import android.support.annotation.CallSuper;
import android.support.annotation.UiThread;
import android.view.View;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.TextView;
import butterknife.Unbinder;
import butterknife.internal.Utils;
import java.lang.IllegalStateException;
import java.lang.Override;

public class CommonDialog_ViewBinding implements Unbinder {
  private CommonDialog target;

  @UiThread
  public CommonDialog_ViewBinding(CommonDialog target) {
    this(target target.getWindow().getDecorView());
  }

  @UiThread
  public CommonDialog_ViewBinding(CommonDialog target View source) {
    this.target = target;

    target.dialogtitle = Utils.findRequiredViewAsType(source R.id.dialog_title “field ‘dialogtitle‘“ TextView.class);
    target.dialogContent = Utils.findRequiredViewAsType(source R.id.dialog_content “field ‘dialogContent‘“ TextView.class);
    target.dialogCancel = Utils.findRequiredViewAsType(source R.id.dialog_cancel “field ‘dialogCancel‘“ Button.class);
    target.dialogEnsure = Utils.findRequiredViewAsType(source R.id.dialog_ensure “field ‘dialogEnsure‘“ Button.class);
    target.llButton = Utils.findRequiredViewAsType(source R.id.ll_button “field ‘llButton‘“ LinearLayout.class);
  }

  @Override
  @CallSuper
  public void unbind() {
    CommonDialog target = this.target;
    if (target == null) throw new IllegalStateException(“Bindings already cleared.“);
    this.target = null;

    target.dialogtitle = null;
    target.dialogContent = null;
    target.dialogCancel = null;
    target.dialogEnsure = null;
    target.llButton = null;
  }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-09-17 22:46  commondialogdemo\
     文件           8  2017-09-16 20:46  commondialogdemo\.gitignore
     目录           0  2017-09-17 22:41  commondialogdemo\build\
     目录           0  2017-09-17 22:41  commondialogdemo\build\generated\
     目录           0  2017-09-17 22:41  commondialogdemo\build\generated\assets\
     目录           0  2017-09-17 22:41  commondialogdemo\build\generated\assets\shaders\
     目录           0  2017-09-17 23:49  commondialogdemo\build\generated\assets\shaders\debug\
     目录           0  2017-09-17 18:00  commondialogdemo\build\generated\res\
     目录           0  2017-09-17 18:00  commondialogdemo\build\generated\res\resValues\
     目录           0  2017-09-17 18:00  commondialogdemo\build\generated\res\resValues\androidTest\
     目录           0  2017-09-17 23:49  commondialogdemo\build\generated\res\resValues\androidTest\debug\
     目录           0  2017-09-17 23:49  commondialogdemo\build\generated\res\resValues\debug\
     目录           0  2017-09-17 18:00  commondialogdemo\build\generated\res\rs\
     目录           0  2017-09-17 18:00  commondialogdemo\build\generated\res\rs\androidTest\
     目录           0  2017-09-17 23:49  commondialogdemo\build\generated\res\rs\androidTest\debug\
     目录           0  2017-09-17 23:49  commondialogdemo\build\generated\res\rs\debug\
     目录           0  2017-09-17 22:41  commondialogdemo\build\generated\source\
     目录           0  2017-09-17 18:00  commondialogdemo\build\generated\source\aidl\
     目录           0  2017-09-17 18:00  commondialogdemo\build\generated\source\aidl\androidTest\
     目录           0  2017-09-17 23:49  commondialogdemo\build\generated\source\aidl\androidTest\debug\
     目录           0  2017-09-17 23:49  commondialogdemo\build\generated\source\aidl\debug\
     目录           0  2017-09-17 22:41  commondialogdemo\build\generated\source\apt\
     目录           0  2017-09-17 22:41  commondialogdemo\build\generated\source\apt\debug\
     目录           0  2017-09-17 22:41  commondialogdemo\build\generated\source\apt\debug\com\
     目录           0  2017-09-17 22:41  commondialogdemo\build\generated\source\apt\debug\com\codingbird\
     目录           0  2017-09-17 22:41  commondialogdemo\build\generated\source\apt\debug\com\codingbird\commondialogdemo\
     文件        1742  2017-09-17 23:18  commondialogdemo\build\generated\source\apt\debug\com\codingbird\commondialogdemo\CommonDialog_ViewBinding.java
     文件        2099  2017-09-17 23:18  commondialogdemo\build\generated\source\apt\debug\com\codingbird\commondialogdemo\MainActivity_ViewBinding.java
     目录           0  2017-09-17 18:00  commondialogdemo\build\generated\source\buildConfig\
     目录           0  2017-09-17 18:00  commondialogdemo\build\generated\source\buildConfig\androidTest\
     目录           0  2017-09-17 18:00  commondialogdemo\build\generated\source\buildConfig\androidTest\debug\
............此处省略1555个文件信息

评论

共有 条评论