hugomfandrade / CalendarView-Widget

📅 CalendarView-Widget is an Android library that allows you to customize and display a calendar and an overview of its events
MIT License
27 stars 14 forks source link

I want to add text of Event as Event in calendarView below date instead of Color ? Is it Possible? Also Convert this lib into AndroidX. #2

Open iamAliRaza opened 4 years ago

hugomfandrade commented 4 years ago

Even though I considered adding text instead of just color, as of right now it is not possible using this lib. A quick fix in the xml should be enough. I am not familiar with AndroidX, but I will look into it. Thanks for the suggestion

iamAliRaza commented 4 years ago

WhatsApp Image 2019-09-16 at 11 31 14 PM

I modified your library according to my requirement also i converted it to androidX.

iamAliRaza commented 4 years ago

The main problem is now for me i want just single and full event text between event dates instead of adding text in all dates. But according to your design we cannot cross date border. Each date box has its own border / frame . Also One Suggestion for you your calendar custom view is very heavy and its taking time in rendering everytime. Use gridview or recycler view / gridlayout instead of constraint layout for drawing each date box. Thanks

hugomfandrade commented 4 years ago

I haven't modified this lib for a couple of years now. But from what I remember, I switched from gridview / recyclerview to constraint layout because of that very reason. the way it was first implemented (with recyclerview) was too heavy and switching to constaint layout made it much lighter. Still not light enough

hugomfandrade commented 4 years ago

The cross date border was a issue I also detected. The lib would need a deep redo

nicemak commented 4 years ago

Hi @iamAliRaza can u please provide me a sample app in which u add this calendar widget with androidx like u shared screenshot of the widget? also if u plan to share please do add how to add remove events as shown in your modified widget. Thanks

cococb commented 4 years ago

Hi @iamAliRaza can you provide me a sample app in wich u add this feature with androidx like u shared screenshot of the widget.? @nicemak can u provide me the sample?.

Thanks!

iamAliRaza commented 4 years ago

@nicemak @cococb Hi yes sure i will share my code. Now a days i am very busy in work. i will share whole code of this widget on upcoming friday Thanks.

Comprehensible7 commented 4 years ago

Hi @iamAliRaza

I already checked your repositories, but there is no whole code of that widget calendar If you don`t mind Could you please provide me that sample app you shared screenshot of the widget?

Thanks

iamAliRaza commented 4 years ago

Hi @iamAliRaza

I already checked your repositories, but there is no whole code of that widget calendar If you don`t mind Could you please provide me that sample app you shared screenshot of the widget?

Thanks

Give me your email address. I am using it as a separate module in my app after modified. I can't upload it on my github account give me ur email address. i can send you in ZIP format

Comprehensible7 commented 4 years ago

Hi @iamAliRaza I already checked your repositories, but there is no whole code of that widget calendar If you don`t mind Could you please provide me that sample app you shared screenshot of the widget? Thanks

Give me your email address. I am using it as a separate module in my app after modified. I can't upload it on my github account give me ur email address. i can send you in ZIP format

Sorry to late a reply

Thanks for your help

iamAliRaza commented 4 years ago

You guyz can download it from here..

https://www.mediafire.com/file/f4517qijt471td6/CalendarViewLib.rar/file

Comprehensible7 commented 4 years ago

You guyz can download it from here..

https://www.mediafire.com/file/f4517qijt471td6/CalendarViewLib.rar/file

Thanks for your help!

I solve the problem

Thanks

bhishman-desai commented 4 years ago

Hey @iamAliRaza Can you please tell me how I can mark some specific dates in my calendar view.

Capture