Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/takuseno/calendarpicker

Library of date picker dialog for Android
https://github.com/takuseno/calendarpicker

Last synced: about 1 month ago
JSON representation

Library of date picker dialog for Android

Awesome Lists containing this project

README

        

# CalendarPicker
Library of date picker dialog for Android

##Usage

Add repository to your gradle file
```gradle
repositories {
maven { url {'https://raw.github.com/takuseno/CalendarPicker/master/repository'}}
}

dependencies {
compile 'jp.gr.java_conf.androtaku.calendarpicker:calendarpicker:1.0.0'
}
```

In your Java Code
```java
CalendarPicker calendarPicker = new CalendarPicker();
calendarPicker.setDateSelectedListenr(new DateSelectedListener() {
@Override
public void onDateSelectedListener(int year, int month, int dayOfMonth) {
String date = "" + year+ "/" + month + "/" + dayOfMonth;
Toast.makeText(getApplicationContext(),date,Toast.LENGTH_SHORT).show();
}
});
calendarPicker.show(getSupportFragmentManager(),"calendar");
```
##Screenshots


day
month
year