# RackMonthPicker **Repository Path**: mirrors_ashqal/RackMonthPicker ## Basic Information - **Project Name**: RackMonthPicker - **Description**: android library dialog month picker - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-01-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # RackMonthPicker android library dialog month picker [![](https://jitpack.io/v/lutvie72/rackmonthpicker.svg)](https://jitpack.io/#lutvie72/rackmonthpicker) ![Screenshots](https://raw.githubusercontent.com/lutvie72/RackMonthPicker/master/photo_2017-01-02_08-51-23.jpg) Download -------- Download via Maven: Add the JitPack repository to your build file ```xml jitpack.io https://jitpack.io ``` Add the dependency ```xml com.github.kal72 RackMonthPicker 1.6.0 ``` via Gradle: Add it in your root build.gradle at the end of repositories ```groovy allprojects { repositories { ... maven { url 'https://jitpack.io' } } } ``` Add the dependency ```groovy dependencies { implementation 'com.github.kal72:RackMonthPicker:1.6.0' } ``` How to use : -------- ```java new RackMonthPicker(this) .setLocale(Locale.ENGLISH) .setPositiveButton(new DateMonthDialogListener() { @Override public void onDateMonth(int month, int startDate, int endDate, int year, String monthLabel) { } }) .setNegativeButton(new OnCancelMonthDialogListener() { @Override public void onCancel(AlertDialog dialog) { } }).show(); ``` adding .setPositiveText(String text) or .setNegativeText(String Text) to change the text of a button.
adding .setLocale(Locale.ENGLISH) to change language.
adding .setColorTheme(R.color.primary) to change color theme.
adding .setSelectedMonth(4) to change default month selected. adding .setMonthType(MonthType) to show month by text or number. Once the dialog is shown, you can dismiss it: ```java RackMonthPicker rackMonthPicker = new RackMonthPicker(this) ....... .show(); rackMonthPicker.dismiss(); ``` ## Contributing Contributions are welcome!