React-native-calendars: make calendar collapsible

Created on 2 Jun 2018  路  19Comments  路  Source: wix/react-native-calendars

Description

I want to control whether the Calendar Component is collapsed just like Agenda(show only one week instead of one month, and there is a button to show the full view of it when collapsed). But It seems that we are not given such API.

Environment

Please run these commands in the project folder and fill in their results:

Thanks in advance :)

stale

Most helpful comment

Hi @rexlow, wondering if you have already solved the problem and possibly sharing the code with us?

All 19 comments

+1

+1

+1

+1

+1

+1

Hey guys seeing there's no sign of development of this issue, I took up the challenge and made a calendar component with collapsible week view. Scrolling has been buttery smooth in both views but I have some issue with switching between views. Hopefully, someone can have a look in my SO issue.

The link to working demo

+1

+1

+1

+1

Hi rexlow, Can you share me this code. I need it. Please help me.

screen shot 2018-10-16 at 11 54 52 am
screen shot 2018-10-16 at 11 55 00 am

+1

Hi @rexlow, wondering if you have already solved the problem and possibly sharing the code with us?

I'd also like to see or hear this code, would be really useful.

+1

I want to have some thing like this
image

Full month view in agenda. don't want to use scroller. if somebody has done this kind work kindly share it.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

srichallamalla935 picture srichallamalla935  路  4Comments

nickitatkach picture nickitatkach  路  4Comments

microwin168 picture microwin168  路  4Comments

anishtr4 picture anishtr4  路  3Comments

AleksandrZhukov picture AleksandrZhukov  路  3Comments