You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
android.content.ActivityNotFoundException: Unable to find explicit activity class {/skedgo.datetimerangepicker.DateTimeRangePickerActivity}; have you declared this activity in your AndroidManifest.xml?
The text was updated successfully, but these errors were encountered:
Use companion intent in your call to day picker and not forget to add DayRangePickerActivity.kt within in the mainifest of the DayRangePicker library.
In the calling Activity,
intent = TestDayRangePickerActivity.Companion.newIntent(YourCallActivity.this,
TimeZone.getDefault(),
DateTime.now().millis,
DateTime.now().plusDays(2).millis);
startActivityForResult(intent, RQC_PICK_DATE_TIME_RANGE);
In the Mainifest.xml in DayPicker Module, add the code.
android:name=".DayRangePickerActivity" with activity tag within the application tag.
thanks for the reply. I am not able to add DayRangePickerActivity as an activity in the manifest... i did try calling the intent with Companion but that didn't help
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?
The text was updated successfully, but these errors were encountered: