Skip to content

Commit 86ec366

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 9849c5e + dfcdd62 commit 86ec366

File tree

1 file changed

+27
-2
lines changed

1 file changed

+27
-2
lines changed

README.md

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ allprojects{
2222
```
2323
dependencies {
2424
...
25-
implementation 'com.github.amitjangid80:multiutillib:v1.3.2'
25+
implementation 'com.github.amitjangid80:multiutillib:v1.3.4'
2626
}
2727
```
2828

@@ -43,7 +43,7 @@ dependencies {
4343
<dependency>
4444
<groupId>com.github.amitjangid80</groupId>
4545
<artifactId>multiutillib</artifactId>
46-
<version>v1.3.2</version>
46+
<version>v1.3.4</version>
4747
<dependency>
4848
```
4949

@@ -268,6 +268,31 @@ dbHelper.executeSelectQuery(tableName, values, hasConditions, conditionalValues)
268268
dbHelper.getRecordCount(tableName, values, hasConditions, conditionalValues);
269269
```
270270

271+
### DatePickerFragment
272+
273+
>**Use this date picker fragment for selecting date.**
274+
275+
```java
276+
277+
DatePickerFragment datePickerFragment = new DatePickerFragment();
278+
279+
/**
280+
* 2018 October 24 - Wednesday - 03:34 PM
281+
* show date picker dialog method
282+
*
283+
* this method will show the date picker dialog fragment
284+
*
285+
* @param context - context of the application
286+
* @param selectedDate - interface of date picker fragment for getting the selected date value
287+
* @param selectedDateFormat - format in which you want the date.
288+
* Example: yyyy-MM-dd hh:mm:ss
289+
*
290+
* @param isCurrentDateMin - pass true to set current date as minimum date else pass false.
291+
**/
292+
datePickerFragment.showDatePickerDialog(this, this, "yyyy/MM/dd HH:mm:ss", false);
293+
294+
```
295+
271296
### SquareImageView
272297

273298
>**Use it the way you use ImageView in android. This makes your image in a perfect square shape.**

0 commit comments

Comments
 (0)