kandi background
Explore Kits

material-calendarview | A Material design back port of Android's CalendarView | User Interface library

 by   prolificinteractive Java Version: 2.0.1 License: MIT

 by   prolificinteractive Java Version: 2.0.1 License: MIT

Download this library from

kandi X-RAY | material-calendarview Summary

material-calendarview is a Java library typically used in User Interface applications. material-calendarview has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has medium support. You can download it from GitHub, Maven.
A Material design back port of Android's CalendarView
Support
Support
Quality
Quality
Security
Security
License
License
Reuse
Reuse

kandi-support Support

  • material-calendarview has a medium active ecosystem.
  • It has 5669 star(s) with 1269 fork(s). There are 207 watchers for this library.
  • It had no major release in the last 12 months.
  • There are 199 open issues and 686 have been closed. On average issues are closed in 78 days. There are 26 open pull requests and 0 closed requests.
  • It has a neutral sentiment in the developer community.
  • The latest version of material-calendarview is 2.0.1
This Library - Support
Best in #User Interface
Average in #User Interface
This Library - Support
Best in #User Interface
Average in #User Interface

quality kandi Quality

  • material-calendarview has 0 bugs and 0 code smells.
This Library - Quality
Best in #User Interface
Average in #User Interface
This Library - Quality
Best in #User Interface
Average in #User Interface

securitySecurity

  • material-calendarview has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
  • material-calendarview code analysis shows 0 unresolved vulnerabilities.
  • There are 0 security hotspots that need review.
This Library - Security
Best in #User Interface
Average in #User Interface
This Library - Security
Best in #User Interface
Average in #User Interface

license License

  • material-calendarview is licensed under the MIT License. This license is Permissive.
  • Permissive licenses have the least restrictions, and you can use them in most projects.
This Library - License
Best in #User Interface
Average in #User Interface
This Library - License
Best in #User Interface
Average in #User Interface

buildReuse

  • material-calendarview releases are available to install and integrate.
  • 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.
  • material-calendarview saves you 2555 person hours of effort in developing the same functionality from scratch.
  • It has 5553 lines of code, 476 functions and 98 files.
  • It has medium code complexity. Code complexity directly impacts maintainability of the code.
This Library - Reuse
Best in #User Interface
Average in #User Interface
This Library - Reuse
Best in #User Interface
Average in #User Interface
Top functions reviewed by kandi - BETA

kandi has reviewed material-calendarview and discovered the below as its top functions. This is intended to give you an instant insight into material-calendarview implemented functionality, and help decide if they suit your requirements.

  • This method is called when a measure is being displayed
  • Update the title .
  • Implements the Layout .
  • Creates a new view which allows to show a single item .
  • Sets the enabled state of this view .
  • Changes the selection mode .
  • Draws the background of the text .
  • Overrides super method to override the ProviderViewInitProviderInfo .
  • Apply this view to another one .
  • Builds a collection of day views .

material-calendarview Key Features

A Material design back port of Android's CalendarView

Installation

copy iconCopydownload iconDownload
allprojects {
  repositories {
    ...
    maven { url 'https://jitpack.io' }
  }
}

Usage

copy iconCopydownload iconDownload
<com.prolificinteractive.materialcalendarview.MaterialCalendarView
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/calendarView"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    app:mcv_showOtherDates="all"
    app:mcv_selectionColor="#00F"
    />

Major Change in 1.4.0

copy iconCopydownload iconDownload
mcv.state().edit()
  .setFirstDayOfWeek(Calendar.WEDNESDAY)
  .setMinimumDate(CalendarDay.from(2016, 4, 3))
  .setMaximumDate(CalendarDay.from(2016, 5, 12))
  .setCalendarDisplayMode(CalendarMode.WEEKS)
  .commit();

Android Studio - implementation material-calendarview can't resolve. Old versions work

copy iconCopydownload iconDownload
dependencyResolutionManagement {
    repositories {
        maven { url 'https://jitpack.io' }
    }
}
allprojects {
  repositories {
    ...
    maven { url 'https://jitpack.io' }
  }
}
-----------------------
dependencyResolutionManagement {
    repositories {
        maven { url 'https://jitpack.io' }
    }
}
allprojects {
  repositories {
    ...
    maven { url 'https://jitpack.io' }
  }
}

class file for android.support.v7.widget.RecyclerView$ViewHolder

copy iconCopydownload iconDownload
implementation 'io.realm:android-adapters:4.0.0'

android kotlin multiplatform kotlinx.serialization works on debug but does not work on release version

copy iconCopydownload iconDownload
-keepattributes *Annotation*, InnerClasses
-dontnote kotlinx.serialization.SerializationKt
-keep,includedescriptorclasses class com.yourcompany.yourpackage.**$$serializer { *; } # <-- change package name to your app's
-keepclassmembers class com.yourcompany.yourpackage.** { # <-- change package name to your app's
    *** Companion;
}
-keepclasseswithmembers class com.yourcompany.yourpackage.** { # <-- change package name to your app's
    kotlinx.serialization.KSerializer serializer(...);
}

Community Discussions

Trending Discussions on material-calendarview
  • Android Studio - implementation material-calendarview can't resolve. Old versions work
  • class file for android.support.v7.widget.RecyclerView$ViewHolder
  • android kotlin multiplatform kotlinx.serialization works on debug but does not work on release version
Trending Discussions on material-calendarview

QUESTION

Android Studio - implementation material-calendarview can't resolve. Old versions work

Asked 2022-Jan-18 at 12:56

Can anyone help with this issue? Not sure why its not resolving for 2.0.1 but it is for 1.4.3

Failed to resolve: com.github.prolificinteractive:material-calendarview:2.0.1 Affected Modules: app

build.grade (Project) file has:

repositories {
  google()
  mavenCentral()
  maven { url "https://jitpack.io" }
}

build.gradle(Module) file has:

dependencies {
  implementation 'com.github.prolificinteractive:material-calendarview:2.0.1' <-"correct" per docs
  // implementation 'com.prolificinteractive:material-calendarview:1.4.3' <-- works
  // implementation 'com.prolificinteractive:material-calendarview:2.0.1' <-- does not work
  // implementation 'com.github.prolificinteractive:material-calendarview:2.0.1' <-- does not work
  // implementation 'com.github.prolificinteractive:material-calendarview:1.4.3' <-- does not work
  implementation 'androidx.core:core-ktx:1.7.0'
  implementation 'androidx.appcompat:appcompat:1.4.1'
  implementation 'com.google.android.material:material:1.5.0'
  implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
  testImplementation 'junit:junit:4.13.2'
    androidTestImplementation 'androidx.test.ext:junit:1.1.3'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
    }

Also tried adding via the Project Structure but it cannot find com.github.prolificinteractive:material-calendarview if I search for it but if I search material-calendarview i can find 1.4.3

Thanks

Project Structure 1

Project Structure 2

ANSWER

Answered 2022-Jan-18 at 12:56

If this is a new project, it's possible you have settings.gradle, then you should add it there:

dependencyResolutionManagement {
    repositories {
        maven { url 'https://jitpack.io' }
    }
}

You can always remove this code block from the settings.gradle and use it as suggested in the github repo. Make sure that you add maven { url 'https://jitpack.io' } inside allprojects, not just the repositories block. Like this:

allprojects {
  repositories {
    ...
    maven { url 'https://jitpack.io' }
  }
}

Source https://stackoverflow.com/questions/70755508

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

Vulnerabilities

No vulnerabilities reported

Install material-calendarview

Step 1. Add the JitPack repository to your build file. Step 2. Add the dependency.

Support

Make sure to check all the documentation available here.

DOWNLOAD this Library from

Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
over 430 million Knowledge Items
Find more libraries
Reuse Solution Kits and Libraries Curated by Popular Use Cases

Save this library and start creating your kit

Explore Related Topics

Share this Page

share link
Compare User Interface Libraries with Highest Quality
Compare User Interface Libraries with Highest Security
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
over 430 million Knowledge Items
Find more libraries
Reuse Solution Kits and Libraries Curated by Popular Use Cases

Save this library and start creating your kit

  • © 2022 Open Weaver Inc.