Google Calendar Recurrence picker

Overview

Android Recurrence Picker

Google Calendar Recurrence picker

Screenshot

Example Image

Usage

Maven / Gradle

Maven Central

Maven:

<dependency>
  <groupId>be.billington.calendar.recurrencepicker</groupId>
  <artifactId>library</artifactId>
  <version>1.1.1</version>
  <type>aar</type>
</dependency>

Gradle:

compile 'be.billington.calendar.recurrencepicker:library:1.1.1'

Credits

This library uses Google Calendar Date & Time pickers from Laurent Flavien & Edison Wang's library

The original source code of the recurrence picker can be found here

License

The Apache Software License, Version 2.0

Comments
  • App crashing right away after including the library

    App crashing right away after including the library

    I am getting following exception after including in the project:

                                                                                     java.lang.RuntimeException: Unable to start activity ComponentInfo{com.shajeelafzal.quicktasks_app/com.shajeelafzal.quicktasks_app.MainActivity}: android.view.InflateException: Binary XML file line #28: Error inflating class android.support.design.widget.FloatingActionButton
                                                                                         at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2184)
                                                                                         at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)
                                                                                         at android.app.ActivityThread.access$800(ActivityThread.java:135)
                                                                                         at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
                                                                                         at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                                         at android.os.Looper.loop(Looper.java:136)
                                                                                         at android.app.ActivityThread.main(ActivityThread.java:5001)
                                                                                         at java.lang.reflect.Method.invokeNative(Native Method)
                                                                                         at java.lang.reflect.Method.invoke(Method.java:515)
                                                                                         at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
                                                                                         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
                                                                                         at dalvik.system.NativeStart.main(Native Method)
                                                                                      Caused by: android.view.InflateException: Binary XML file line #28: Error inflating class android.support.design.widget.FloatingActionButton
                                                                                         at android.view.LayoutInflater.createView(LayoutInflater.java:620)
                                                                                         at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
                                                                                         at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
                                                                                         at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
                                                                                         at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
                                                                                         at com.shajeelafzal.quicktasks_app.fragments.HomeFragment.onCreateView(HomeFragment.java:79)
                                                                                         at android.support.v4.app.Fragment.performCreateView(Fragment.java:1962)
                                                                                         at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067)
                                                                                         at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1248)
                                                                                         at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:738)
                                                                                         at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1613)
                                                                                         at android.support.v4.app.FragmentController.execPendingActions(FragmentController.java:330)
                                                                                         at android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:547)
                                                                                         at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1171)
                                                                                         at android.app.Activity.performStart(Activity.java:5241)
                                                                                         at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2157)
                                                                                         at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233) 
                                                                                         at android.app.ActivityThread.access$800(ActivityThread.java:135) 
                                                                                         at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196) 
                                                                                         at android.os.Handler.dispatchMessage(Handler.java:102) 
                                                                                         at android.os.Looper.loop(Looper.java:136) 
                                                                                         at android.app.ActivityThread.main(ActivityThread.java:5001) 
                                                                                         at java.lang.reflect.Method.invokeNative(Native Method) 
                                                                                         at java.lang.reflect.Method.invoke(Method.java:515) 
                                                                                         at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) 
                                                                                         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) 
                                                                                         at dalvik.system.NativeStart.main(Native Method) 
                                                                                      Caused by: java.lang.reflect.InvocationTargetException
                                                                                         at java.lang.reflect.Constructor.constructNative(Native Method)
                                                                                         at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
                                                                                         at android.view.LayoutInflater.createView(LayoutInflater.java:594)
                                                                                         at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696) 
                                                                                         at android.view.LayoutInflater.rInflate(LayoutInflater.java:755) 
                                                                                         at android.view.LayoutInflater.inflate(LayoutInflater.java:492) 
                                                                                         at android.view.LayoutInflater.inflate(LayoutInflater.java:397) 
                                                                                         at com.shajeelafzal.quicktasks_app.fragments.HomeFragment.onCreateView(HomeFragment.java:79) 
                                                                                         at android.support.v4.app.Fragment.performCreateView(Fragment.java:1962) 
                                                                                         at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067) 
                                                                                         at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1248) 
                                                                                         at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:738) 
                                                                                         at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1613) 
                                                                                         at android.support.v4.app.FragmentController.execPendingActions(FragmentController.java:330) 
                                                                                         at android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:547) 
                                                                                         at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1171) 
                                                                                         at android.app.Activity.performStart(Activity.java:5241) 
                                                                                         at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2157) 
                                                                                         at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233) 
                                                                                         at android.app.ActivityThread.access$800(ActivityThread.java:135) 
                                                                                         at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196) 
                                                                                         at android.os.Handler.dispatchMessage(Handler.java:102) 
                                                                                         at android.os.Looper.loop(Looper.java:136) 
                                                                                         at android.app.ActivityThread.main(ActivityThread.java:5001) 
                                                                                         at java.lang.reflect.Method.invokeNative(Native Method) 
                                                                                         at java.lang.reflect.Method.invoke(Method.java:515) 
                                                                                         at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) 
                                                                                         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) 
                                                                                         at dalvik.system.NativeStart.main(Native Method) 
                                                                                      Caused by: java.lang.UnsupportedOperationException: Can't convert to color: type=0x2
                                                                                         at android.content.res.TypedArray.getColor(TypedArray.java:327)
                                                                                         at android.support.design.widget.FloatingActionButton.<init>(FloatingActionButton.java:120)
                                                                                         at android.support.design.widget.FloatingActionButton.<init>(FloatingActionButton.java:104)
                                                                                         at java.lang.reflect.Constructor.constructNative(Native Method) 
                                                                                         at java.lang.reflect.Constructor.newInstance(Constructor.java:423) 
                                                                                         at android.view.LayoutInflater.createView(LayoutInflater.java:594) 
                                                                                         at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696) 
                                                                                         at android.view.LayoutInflater.rInflate(LayoutInflater.java:755) 
                                                                                         at android.view.LayoutInflater.inflate(LayoutInflater.java:492) 
                                                                                         at android.view.LayoutInflater.inflate(LayoutInflater.java:397) 
                                                                                         at com.shajeelafzal.quicktasks_app.fragments.HomeFragment.onCreateView(HomeFragment.java:79) 
                                                                                         at android.support.v4.app.Fragment.performCreateView(Fragment.java:1962) 
                                                                                         at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067) 
                                                                                         at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1248) 
                                                                                         at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:738) 
                                                                                         at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1613) 
                                                                                         at android.support.v4.app.FragmentController.execPendingActions(FragmentController.java:330) 
                                                                                         at android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:547) 
                                                                                         at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1171) 
                                                                                         at android.app.Activity.performStart(Activity.java:5241) 
                                                                                         at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2157) 
                                                                                         at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233) 
                                                                                         at android.app.ActivityThread.access$800(ActivityThread.java:135) 
                                                                                         at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196) 
                                                                                         at android.os.Handler.dispatchMessage(Handler.java:102) 
                                                                                         at android.os.Looper.loop(Looper.java:136) 
                                                                                         at android.app.ActivityThread.main(ActivityThread.java:5001) 
                                                                                         at java.lang.reflect.Method.invokeNative(Native Method) 
                                                                                         at java.lang.reflect.Method.invoke(Method.java:515) 
                                                                                         at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) 
                                                                                         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) 
                                                                                         at dalvik.system.NativeStart.main(Native Method) 
    

    My build.gradle file looks like this:

    android {
        compileSdkVersion 23
        useLibrary 'org.apache.http.legacy'
    
        defaultConfig {
            applicationId "com.shajeelafzal.quicktasks_app"
            minSdkVersion 16
            targetSdkVersion 23
            versionCode 1
            versionName "1.0"
            buildToolsVersion '23'
            compileSdkVersion 23
        }
        buildTypes {
            release {
                minifyEnabled false
                proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            }
        }
    
        packagingOptions {
            exclude 'META-INF/LICENSE'
            exclude 'META-INF/LICENSE-FIREBASE.txt'
            exclude 'META-INF/NOTICE'
        }
    }
    
    
    opened by Shajeel-Afzal 23
  • The build fails with Android Studio

    The build fails with Android Studio

    Here's below the message returned in the Gradle console:

    "FAILURE: Build failed with an exception.

    • What went wrong: Execution failed for task ':MyGoals:mergeDebugResources'.

      D:\android-studio\MyGoals\build\exploded-bundles\BeBillingtonCalendarRecurrencepickerLibrary101.aar\res\values-iw\strings.xml: Error: Found item String/custom more than one time"

    opened by glorilla 12
  • Graphical misbehavior

    Graphical misbehavior

    Hi @Shusshu, thanks for your library!

    Any idea about why recurrent picker is shown like this?

    selezione_025

    I successfully included into my application using it with iCal4j but I'm still facing this graphical issue.

    Any hint? Thanks

    opened by federicoiosue 3
  • Bug: android-maven-plugin 3.8.2  aar package classes from aar dep

    Bug: android-maven-plugin 3.8.2 aar package classes from aar dep

    Due to a bug in android-maven-plugin 3.8.2 classes from an aar dep are also included in the library classes.jar See https://code.google.com/p/maven-android-plugin/issues/detail?id=438

    bug 
    opened by Shusshu 2
  • Is there a way to disable certain weekdays?

    Is there a way to disable certain weekdays?

    Like in the title. How can i make user unable to pick certain weekdays i.e. saturady and sunday? I suppose there's no way to do this by passing some sort of argument to the fragment.

    opened by szymanskip 1
  • Release:prepare with java8

    Release:prepare with java8

    Javadoc stuff are more strict in java8....

    I need to properly config the pom to allow a build to be released using java 8.

    Note: The release works fine on Java 7

    opened by Shusshu 0
  • Android-RecurrencePicker can't work correctly in Android Studio3.2.0

    Android-RecurrencePicker can't work correctly in Android Studio3.2.0

    If you import Android-RecurrencePicker in Android Studio3.2.0,you will get the same bug. The bug is AAPT: error: inner element must either be a resource reference or empty. This is because the id.xml in the libarary of datetimepicker. I know how to solve the problem ,but I need the sourcecode of Android-RecurrencePicker

    opened by kouhengsheng 4
Owner
Benoit Billington
Benoit Billington
This library provides a simple way to add a draggable sliding up panel (popularized by Google Music and Google Maps) to your Android application. Brought to you by Umano.

Note: we are not actively responding to issues right now. If you find a bug, please submit a PR. Android Sliding Up Panel This library provides a simp

Umano: News Read To You 9.4k Dec 31, 2022
A file/directory-picker for android. Implemented as a library project.

Note: avoid using as SD-card file picker on Kitkat+ In Kitkat or above, use Android's built-in file-picker instead. Google has restricted the ability

Jonas Kalderstam 711 Dec 27, 2022
A color picker and a color preference for use in Android applications.

HSV-Alpha Color Picker for Android This library implements a color picker and a color preference for use in Android applications. Features I couldn't

Martin Stone 279 Nov 26, 2022
This is a picker view for android , support linkage effect, timepicker and optionspicker.(时间选择器、省市区三级联动)

Android-PickerView English Document 注意事项、详请使用方式、更新日志等,请查看 Wiki文档 Wiki文档,Wiki文档,Wiki文档 !~ 重要的事情说三遍 对于使用上有任何疑问或优化建议等,欢迎加入QQ群讨论交流技术问题。 交流群1: 387051294(推荐

Bigkoo 13.2k Jan 6, 2023
A color picker for Jetpack compose 🎨

Compose Color Picker ?? Color Picker for Jetpack compose A color picker for Jetpack compose ?? Download ?? Working on it ?? Usage ColorPicker { co

mhssn 12 Dec 8, 2022
A skeleton of google's appcompat android navigation drawer with material design.

Lollipop AppCompat Skeleton A skeleton of google's appcompat android navigation drawer with material design. Compatible to work on 4.0+ Based on Googl

Sachin Shinde 99 Nov 29, 2022
[Deprecated] Android Library that implements Snackbars (former known as Undobar) from Google's Material Design documentation.

UndoBar This lib is deprecated in favor of Google's Design Support Library which includes a Snackbar and is no longer being developed. Thanks for all

Kai Liao 577 Nov 25, 2022
Android library implementing a poppy view on scroll, similar to the one found in the Google Plus app

PoppyView PoppyView is a library which implements view on the bottom which come and go relative to the user scroll. It can be seen in the Google plus

Flavien Laurent 409 Nov 23, 2022
Create an header for com.google.android.material.navigation.NavigationView

Header View This is a view for NavigationView in android.support.design library Import At the moment the library is in my personal maven repo reposito

Raphaël Bussa 106 Nov 25, 2022
Google Calendar Recurrence picker

Android Recurrence Picker Google Calendar Recurrence picker Screenshot Usage Maven / Gradle Maven: <dependency> <groupId>be.billington.calendar.recu

Benoit Billington 240 Nov 29, 2022
Android calendar view inspired by Sunrise calendar and iOS7 stock calendar

SilkCal Android calendar view inspired by Sunrise calendar and iOS7 stock calendar. Usage Add compile 'me.nlmartian.silkcal:library:0.1.1' to your dep

JunGuan Zhu 385 Nov 25, 2022
Android calendar view inspired by Sunrise calendar and iOS7 stock calendar

SilkCal Android calendar view inspired by Sunrise calendar and iOS7 stock calendar. Usage Add compile 'me.nlmartian.silkcal:library:0.1.1' to your dep

JunGuan Zhu 385 Nov 25, 2022
A material-styled android view that provisions picking of a date, time & recurrence option, all from a single user-interface.

SublimePicker A customizable view that provisions picking of a date, time & recurrence option, all from a single user-interface. You can also view 'Su

Vikram 2.3k Jan 4, 2023
A material-styled android view that provisions picking of a date, time & recurrence option, all from a single user-interface.

SublimePicker A customizable view that provisions picking of a date, time & recurrence option, all from a single user-interface. You can also view 'Su

Vikram 2.3k Jan 4, 2023
The CustomCalendarView provides an easy and customizable calendar to create a Calendar. It dispaly the days of a month in a grid layout and allows to navigate between months

Custom-Calendar-View To use the CustomCalendarView in your application, you first need to add the library to your application. You can do this by eith

Nilanchala Panigrahy 113 Nov 29, 2022
Kalendar - A calendar to integrate Calendar with Custom design in your jetpack compose project

Kalendar - An Elementary Compose Calendar. This is a calendar to integrate Calen

Himanshu Singh 494 Jan 2, 2023
📅 Minimal Calendar - This calendar library is built with jetpack compose. Easy, simple, and minimal.

?? Minimal Calendar This calendar library is built with jetpack compose. Easy, simple, and minimal. Latest version The stable version of the library i

Minjae Kim 16 Sep 14, 2022
Pix is a Whatsapp image picker replica. with this, you can integrate an image picker just like WhatsApp.

Pix (WhatsApp Style Image and Video Picker) Pix is a WhatsApp image picker replica. with this you can integrate a image picker just like WhatsApp. Upc

Akshay sharma 742 Jan 4, 2023
Android Country Picker is a Kotlin-first, flexible and powerful Android library that allows to integrate Country Picker with just a few lines.

1. Add dependency dependencies { implementation 'com.hbb20:android-country-picker:X.Y.Z' } For latest version, 2. Decide your use-case

Harsh B. Bhakta 65 Dec 6, 2022
Facebook-Styled-Image-Picker - Facebook Styled Image Picker

Facebook-Styled-Image-Picker Facebook Styled Gallery Files picker. One or multip

Hashim Tahir 11 Sep 27, 2022