Calendar does not appear
See original GitHub issueI followed all instructions but for some reason the calendar does not show. What could I be doing wrong?
`<androidx.constraintlayout.widget.ConstraintLayout xmlns:android=“http://schemas.android.com/apk/res/android” xmlns:tools=“http://schemas.android.com/tools” android:layout_width=“match_parent” android:layout_height=“match_parent” xmlns:app=“http://schemas.android.com/apk/res-auto”>
<com.kizitonwose.calendarview.CalendarView
android:id="@+id/calendarView"
android:layout_width="200dp"
android:layout_height="200dp"
app:cv_dayViewResource="@layout/calendar_day_layout"
android:layout_centerInParent="true"
/>
</androidx.constraintlayout.widget.ConstraintLayout>`
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Fix sync problems with the Google Calendar app - Android
Use this page if events you created or updated aren't showing on your computer or in the Google Calendar app. First, try these...
Read more >I Can't See Calendar Appointments in Outlook
Alternatively, right-click on the calendar in the Folder Pane and then click "Show This Calendar." By default, checked calendars are displayed side-by-side. To ......
Read more >If your iCloud Contacts, Calendars, or Reminders won't sync
Make sure that All iCloud is selected. Open the Calendar app and tap the Calendars tab.
Read more >What to Check if Calendar Events are Not Showing
What to Check if Calendar Events are Not Showing ; Hidden sub calendars · Refresh your calendar ; Clear your browser's cache. ·...
Read more >Outlook troubleshooting: No Outlook calendars are showing in ...
Outlook troubleshooting: No Outlook calendars are showing in the Select calendars to sync step · Quit and reboot connector · Check permission ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mkieczko96 You did not setup View binding properly in your initial example.
From the code you shared:
The above code creates a view binding but in the onCreateView, you return a completely different view.
This is how to use ViewBinding:
I found it!
It looks like
ViewContainer
doesn’t likeviewBinding
. When I changed myWelcomeFragment.java
class to look as follows, it started working:As you can see, I have resigned from using
ViewBindings
, there are some minor changes also, but I’ve checked them with no luck. As a prove: