Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/takuseno/calendarpicker
- Owner: takuseno
- License: apache-2.0
- Created: 2015-03-01T05:22:45.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-28T02:30:05.000Z (over 9 years ago)
- Last Synced: 2024-10-23T04:07:06.605Z (2 months ago)
- Language: Java
- Size: 1.17 MB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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