Skip to content

Commit

Permalink
update RxDialog.*
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamsiree committed Feb 25, 2020
1 parent d29148f commit 0c8ea84
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
10 changes: 10 additions & 0 deletions RxUI/src/main/java/com/tamsiree/rxui/view/dialog/RxDialogDate.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
import android.widget.LinearLayout;
import android.widget.TextView;

import androidx.annotation.Nullable;

import com.tamsiree.rxkit.RxTimeTool;
import com.tamsiree.rxui.R;
import com.tamsiree.rxui.view.dialog.wheel.DateArrayAdapter;
Expand Down Expand Up @@ -278,6 +280,14 @@ public int getDivideYear() {
return divideYear;
}

public void setOnSureClick(@Nullable View.OnClickListener l) {
getSureView().setOnClickListener(l);
}

public void setOnCancelClick(@Nullable View.OnClickListener l) {
getCancleView().setOnClickListener(l);
}

/**
* Updates mDayView wheel. Sets max mDays according to selected mMonthView and mYearView
*/
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ buildscript {
maven { url 'https://esri.bintray.com/arcgis' }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.3'
classpath 'com.android.tools.build:gradle:3.6.0'
classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2'
classpath 'com.jakewharton:butterknife-gradle-plugin:10.2.0'
// NOTE: Do not place your application dependencies here; they belong
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Thu Nov 21 09:04:59 CST 2019
#Tue Feb 25 11:05:57 CST 2020
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip

0 comments on commit 0c8ea84

Please sign in to comment.