Caldroid | A better calendar for Android | Android library

 by   roomorama Java Version: 3.0.1 License: Non-SPDX

kandi X-RAY | Caldroid Summary

kandi X-RAY | Caldroid Summary

Caldroid is a Java library typically used in Mobile, Android applications. Caldroid has no bugs, it has no vulnerabilities, it has build file available and it has medium support. However Caldroid has a Non-SPDX License. You can download it from GitHub, Maven.

Caldroid is a fragment that display calendar with dates in a month. Caldroid can be used as embedded fragment, or as dialog fragment. User can also swipe left/right to navigate to different months. It’s very easy to customize look and feel of Caldroid using your own theme, thanks to [@crocodile2u] contribution. There are two default themes in Caldroid (Light and Dark). You can provide your own theme based on these default themes as well. Caldroid is fully localized. You can customize start day of the week for different countries. By default calendar start on Sunday. Caldroid can be used with Android 2.2 and above. It is extracted from [official Roomorama application] . If you found bugs specific to Caldroid, please open a new issue on Github. However for general Android questions (about layout, drawable, etc), you probably can find more information on StackOverflow.

            kandi-support Support

              Caldroid has a medium active ecosystem.
              It has 1428 star(s) with 545 fork(s). There are 95 watchers for this library.
              It had no major release in the last 12 months.
              There are 116 open issues and 309 have been closed. On average issues are closed in 116 days. There are 16 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of Caldroid is 3.0.1

            kandi-Quality Quality

              Caldroid has 0 bugs and 0 code smells.

            kandi-Security Security

              Caldroid has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              Caldroid code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              Caldroid has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              Caldroid releases are not available. You will need to build from source code and install.
              Deployable package is available in Maven.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed Caldroid and discovered the below as its top functions. This is intended to give you an instant insight into Caldroid implemented functionality, and help decide if they suit your requirements.
            • Called when the activity is created
            • Set the custom color for dates for dates
            • Set the disable dates
            • Restores the state of a dialog from a key
            • Setup the view
            • Get all dates of a given calendar
            • Set up the date grid views
            • Retrieve the initial arguments for the fragment
            • Get the text view with the given position
            • Sets the custom background resource for the date time
            • Customize the text and color values of the cell
            • Set text color for dates
            • Set the background drawable for dates
            • Adjusts the height of the view pager
            • On detached fragment
            • Create a new couchroid fragment
            • Create the grid view
            • Region CreateDrawableState Implementation
            • Get the view at the specified position
            • Set the text view at the specified position
            Get all kandi verified functions for this library.

            Caldroid Key Features

            No Key Features are available at this moment for Caldroid.

            Caldroid Examples and Code Snippets

            No Code Snippets are available at this moment for Caldroid.

            Community Discussions


            Multidex app still over 64K method limit
            Asked 2020-Jan-16 at 10:30

            I'm facing a weird issue with multidex. I've had my app multidexed for a long time, but lately I can't build it anymore. It started after configuring Kotlin in the project.

            The 'run' option in Android Studio works: the app runs successfully in my device. However, if I try the "Build APK" option or run gradlew assembleDebug, the build fails with the usual exception:



            Answered 2017-Dec-19 at 15:52

            It turned out to be a problem with the way I was including HAPI-FHIR. It's a really big library with tons of dependencies, and it probably was collapsing the main dexfile.

            In the end, I solved it by replacing:



            How to fix ''boolean' on a null object reference' inside fragment with caldroid nested
            Asked 2019-Dec-05 at 14:45

            i have an activity with navigation drawer with fragments and its compiling with androidx, in one of them i want to call a fragment that contains a custom caldroid and until now it works fine, but at the moment to finish the fragment or change to another fragment the logcat call this error:

            I searched on internet and found a similar case, and it is only related to projects that work with androidx, but i don't know how to apply the changes in the library to eliminate this error.

            Error Logcat:



            Answered 2019-Dec-05 at 14:45

            By using an updated version Caldroid resolved my problem. Try using created by @roomorama

            this library compatible with newer versions of Android fragments and AndroidX.

            only replacing the Caldroid dependency resolved my issue. change dependency in Gradle file to below



            I have trouble with the latest Android Studio Gradle Update 3.3.1
            Asked 2019-Mar-13 at 07:23

            I have recently switched to classpath '' and wrapper properties is set to distributionUrl=https\://

            I am using following dependencies:



            Answered 2019-Feb-21 at 11:20

            I would recommend you rollback to previous Gradle version. These are actually more than just warnings, as these might affect code editor and prevent you from searching references to classes.

            Just wait until the concerned libraries are updated.



            Android Gradle Sync failed could not find support-core-ui.aar
            Asked 2018-Jun-08 at 15:29

            I've been working on this Android Project for about a year now, suddenly when I opened it yesterday Android Studio 3.1.2 failed to sync gradle and the project doesn't build anymore giving me this error:



            Answered 2018-May-30 at 14:06
            1. Check if you are working offline.

              File > Settings > Write "offline" on the search bar > Gradle > uncheck "offline work".

            2. Use the keyword "implementation" instead of "compile". Compile is deprecated and will be abandoned by the end of 2018. This is a long shot, but something might have changed since the last Android Studio update.

            3. Explicitly add to your dependencies.

            Let me know if it helped.

            Good luck.


            If you go to


            You'll find out that your *.jar file is not there.

            There are a couple others, though:

            • support-core-ui-27.1.1-sources.jar
            • support-core-ui-27.1.1.aar
            • support-core-ui-27.1.1.pom

            You can use the *.aar file instead.



   duplicate entry: n.class
            Asked 2018-May-29 at 14:24
              apply plugin: ''
            android {
                compileSdkVersion 24
                buildToolsVersion "25.0.0"
                defaultConfig {
                    applicationId "[ MY PACKAGE ]"
                    minSdkVersion 15
                    targetSdkVersion 24
                    versionCode 1
                    versionName "1.0"
                    testInstrumentationRunner ""
                    multiDexEnabled true
                buildTypes {
                    release {
                        minifyEnabled false
                        proguardFiles getDefaultProguardFile('proguard-android.txt'), ''
                dexOptions {
                    javaMaxHeapSize "4g"
            android {
                useLibrary 'org.apache.http.legacy'
            repositories {
                maven {
                    url ""
            dependencies {
                androidTestCompile('', {
                    exclude group: '', module: 'support-annotations'
                compile 'com.squareup.picasso:picasso:2.5.2'
                compile fileTree(include: ['*.jar'], dir: 'libs')
                compile 'org.apache.httpcomponents:httpcore:4.4.1'
                compile 'org.apache.httpcomponents:httpclient:4.5'
                compile 'com.github.deano2390:android-viewbadger:1.0.0'
                compile('com.jakewharton:butterknife:8.6.0') {
                    exclude module: 'support-compat'
                compile project(':Library_MobilePaymentSDK')
                testCompile 'junit:junit:4.12'
                compile ''
                compile 'com.github.aakira:expandable-layout:1.4.2@aar'
                compile ''
                compile ''
                compile ''
                compile ''
                compile ''
                compile ''
                compile ''
                compile ''
                compile ''
                compile 'com.mcxiaoke.volley:library:1.0.19'
                compile ''
                compile 'rongi.rotate-layout:rotate-layout:2.0.0'
                compile 'com.roomorama:caldroid:3.0.1'
                compile 'com.maksim88:PasswordEditText:v0.9'
                compile 'com.squareup.retrofit:retrofit:1.9.0'
                compile 'gun0912.ted:tedpermission:1.0.3'
                compile ''
                compile 'com.jcmore2.appcrash:appcrash:1.1.0'
                compile 'com.github.stfalcon:smsverifycatcher:0.2'
                compile 'com.github.javiersantos:BottomDialogs:1.2.1'
                testCompile 'junit:junit:4.12'
                annotationProcessor 'com.jakewharton:butterknife-compiler:8.6.0'
                compile files('libs/mpaysdk-sandbox-1.0.28.jar')
            apply plugin: ''
            apply plugin: 'com.jakewharton.butterknife'


            Answered 2018-May-29 at 14:24

            In terminal, You can execute the following command in your root project folder:

            ./gradlew clean


            If you use Android Studio, then you can do it easily, Go to Menu

            Build/Clean Project

            It will update old dependencies


            You can add the following section to your build.gradle file:



            Android TransformException: ZipException duplicate entry in CoordinatorLayout.class
            Asked 2018-Mar-01 at 18:56

            I'm having this weird exception that suddenly came out of nowhere after I added some resources to my Android project. The app stopped building completely and throwing the following exception:



            Answered 2018-Mar-01 at 18:56

            I had the same error and was able to get my project to build by adding this at the bottom of my gradle file



            Unable to merge dex with androidTestImplementation
            Asked 2017-Dec-09 at 15:49

            I get an unable to merge dex exception when i try to run my android test together with uiAutomation.



            Answered 2017-Dec-09 at 15:49

            The root cause was an conflict of the XmlPullParserException class. This class is part of the xxp3 dependency and part of org.simpleframework.simplexml.



            Getting Error while running code, I tried MultidexEnable but didnt work
            Asked 2017-Oct-26 at 11:03

            Error:Execution failed for task ':app:transformClassesWithMultidexlistForDebug'.

   Can't write [/home/android1/Android/projects/ezeparents/app/build/intermediates/multi-dex/debug/componentClasses.jar] (Can't read [/home/android1/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpcore/4.3.2/31fbbff1ddbf98f3aa7377c94d33b0447c646b6e/httpcore-4.3.2.jar(;;;;;;**.class)] (Duplicate zip entry [httpcore-4.3.2.jar:org/apache/http/annotation/NotThreadSafe.class]))




            Answered 2017-Oct-26 at 09:55

            Please clear you dependencies. You have an error, because you have a lot of libraries, that have same functionality. Also

            Warning:WARNING: Dependency org.apache.httpcomponents:httpclient:4.3.2 is ignored for release as it may be conflicting with the internal version provided by Android.

            In my opinion the problem is in



            Android (Xamarin) binding project for Android Studio library
            Asked 2017-Jul-19 at 03:28

            I'm trying to use an external library from android into my Xamarin.Android application, but am facing quite a few issues.

            The external library I require is a Calendar library. After looking at Xamarin Component's limited collection of Calendar library, I was unable to find one that suits the needs of my application. I then read up on using Android Studio's external libraries, using this Xamarin tutorial and this youtube tutorial.

            However, of the two libraries I've tried -

            both were not able to build.

            Here is the error list when I try to build Material Calendar View:



            Answered 2017-Jul-19 at 03:17

            In your project solution, you could choose Add Existing Project, add a MaterialCalendarLibrary from Xamarin.MaterialCalendarView project.

            Then you could follow this Xamarin tutorial, to use the material-calendarview. All works fine and if I found a better solution I will come back and update this answer.

            Effect like this.

            EDIT :

            Its object browser.



            Caldroid calendar unparsable date exception
            Asked 2017-May-03 at 07:58

            I am trying to get the selected date in dd/MM/yyyy format from Caldroid calendar but when I am parsing the date it will throw an following error.



            Answered 2017-May-03 at 07:58

            This does what you want your code to do (without the logging):


            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install Caldroid

            For Android Studio user: add compile 'com.roomorama:caldroid:3.0.1' to your gradle build file. For Eclipse/ADT user: please see tag [eclipse_project](, download the source codes, check out the CaldroidSample to see how the library works. However you are strongly recommended to use Maven or gradle, because this tag is no longer supported. To use in your project, reference the child library project as a library. If you see JAR mismatched error, replace your android-support-v4.jar to the jar inside Caldroid. Make sure you compile the project against Android 4.2 and above to allow nested fragment. See more at


            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
          • HTTPS


          • CLI

            gh repo clone roomorama/Caldroid

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link