skedgo / datetimerangepicker Goto Github PK
View Code? Open in Web Editor NEWA date time range picker for android written in Kotlin
License: MIT License
A date time range picker for android written in Kotlin
License: MIT License
I have just added your project in my gradle and it throws me this error during the sync:
C:\Users\Daniq\.android\build-
cache\47f85a58837f42204ad53113b8b4916ad78affec\output\res\layout\date_time_range_picker.xml
Error:(22) No resource identifier found for attribute 'isDone' in package 'com.myapp'
Error:(39) No resource identifier found for attribute 'isVisible' in package 'com.myapp'
Error:(52) No resource identifier found for attribute 'isVisible' in package 'com.myapp'
Error:(98) No resource identifier found for attribute 'isVisible' in package 'com.myapp'
Error:(111) No resource identifier found for attribute 'isVisible' in package 'com.myapp'
Error:(28, 21) No resource type specified (at 'isDone' with value '@{viewModel.isCompletable}').
Error:(50, 26) No resource type specified (at 'isVisible' with value '@{!viewModel.hasStartDate}').
I need to show only date , is there any way to use with out showing time on the tabs
Hi ,
I am creating a new project in which i have pasted your .kt file and rec , but when I define DateTimeRangePickerActivity as a LAUNCHER Activity in mainfeast and try to build project i got an error .
java.lang.IllegalStateException: intent.extras must not be null.
please help , I have not too much idea on Kotlin
I'm trying to find similar java version of DateTimeRangePicker! any help available? (shamelessly not yet ready to use Kotlin, still learning!! )
Hi,
hope find you well with this cold call.
I am an author of mocking framework for Kotlin
I see you are using mockito-kotlin.
I just want you to be aware that there is solution that fully supports Kotlin and ask to try it in your new/current projects.
I can help you if you answer to this issue.
Thanks and please star it
:DateTimeRangePicker2:compileDebugJavaWithJavac FAILED
FAILURE: Build failed with an exception.
java.lang.annotation.IncompleteAnnotationException: android.databinding.BindingBuildInfo missing element enableDebugLogs
I get this error when building a project using com.android.tools.build:gradle:2.3.0-beta1
, this library is using a different version com.android.tools.build:gradle:2.2.3
.
val intent = newIntent(
this,
TimeZone.getDefault(),
DateTime.now().millis,
DateTime.now().plusDays(2).millis
)
this.startActivityForResult(intent, RQC_PICK_DATE_TIME_RANGE)
above code gave me actvity not found error :
android.content.ActivityNotFoundException: Unable to find explicit activity class {/skedgo.datetimerangepicker.DateTimeRangePickerActivity}; have you declared this activity in your AndroidManifest.xml?
hi if you dont mind please upload simple app for this library . i really need this library but i dont know how to use this library
Install the library using the implementation 'com.github.skedgo:DateTimeRangePicker:v1.3'
in build gradle.
Enable data binding in your project dataBinding { enabled = true }
.
Run the app.
I get the following errors
****/ data binding error ****msg:Cannot find the setter for attribute 'app:isDone' with parameter type android.databinding.ObservableBoolean on android.support.v7.widget.Toolbar.
file:C:\Users\username\.gradle\caches\transforms-1\files-1.1\DateTimeRangePicker-v1.3.aar\5ef60d6b1e63abe781ccc1ed1b97ba88\res\layout\date_time_range_picker.xml
loc:27:22 - 27:44
****\ data binding error ****```
can we use this library in java code?
I think yes, but what is the Java implementation to call this library?
Please do add gradle Url and also License for your project
Error:Failed to resolve: com.github.skedgo:activity-animations:v1.0
Caused by: java.lang.IllegalStateException: intent.extras must not be null
at skedgo.datetimerangepicker.DateTimeRangePickerActivity.onCreate(DateTimeRangePickerActivity.kt:47)
This Error come When we use Intent in MainActivity java class for go in DateTimeRangePickerActivity kotlin class
is this an android studio project? why only .kt files but not .java files in it?
I have just added the dependency of this library in my build.gradle and i am getting a lot of data binding errors in dateTimeRangePicker.xml file. I have enabled data binding in my project and applied the kapt plugin.
Attempt to cast generated internal exception:
java.lang.ClassCastException: java.util.SimpleTimeZone cannot be cast to java.lang.String
this error is coming
because behalf of code timezone come in string. but android studio show timezone not convert in string.
the timezone not come because when i give timezone in intent in java class. that will not taken by kotlin class. behalf your code , u send time zone. in DateTimeRangePicker. but in java class intent working type is different. i think u know.
how can i solve this issue. please give me a solution
Thanks
hi, please convert this library java
How to solve this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.