B4A Library [B4X] [XUI] AS Scheduler πŸ“… - MonthView, DayView (Week), AgendaView and CalendarView [Payware]

asales

Expert
Licensed User
Longtime User
The correct function is RefreshHeader.
It works to change the names, but I get this issue below in a Redmi 9A (Android 10) and in a Samsung A71 (Android 12). It work in a Moto G4 (Android 7).
The calendar is not update when I open the app:

The dates are in incorrect days and I don't see the appointments created in code.
Maybe could be the same issue face of the other lib (and you fix it)?
 

asales

Expert
Licensed User
Longtime User
Maybe longclick for appointment details ?
LongClick works, but the problem is the calendar is not updated when I open the app and I don't see the appointments (in Redmi 9A and A71), like this (in Moto G4):
 

Alexander Stolte

Expert
Licensed User
Longtime User
is this s question ? Or you’re confirming ?
This Event is already there.
LongClick works, but the problem is the calendar is not updated when I open the app and I don't see the appointments (in Redmi 9A and A71), like this (in Moto G4):
You use the heatmap?
 

asales

Expert
Licensed User
Longtime User
You use the heatmap?
If I just run the MonthView Example, without modification, I see this issues:
- today is Mon 22 and not Mon 20
- no appointments


Even if I enable this lines in code (edit: and the HeatMap Example Data), I don't get any changes:
B4X:
Sleep(4000)
ASScheduler_MonthView1.SchedulerFunction = ASScheduler_MonthView1.SchedulerFunction_HeatMap
ASScheduler_MonthView1.RefreshScheduler
 

scsjc

Well-Known Member
Licensed User
Longtime User
I have detected that version 2.10 when I create an annual recurring, they are repeated every day.
I put the same event with library v2.04 and it doesn't happen


 

Alexander Stolte

Expert
Licensed User
Longtime User
I'm still trying to figure out why that is. At first I thought it was due to tweaking 2 versions ago, but when I restore all the changes it still occurred, so I'm still looking.
 

scsjc

Well-Known Member
Licensed User
Longtime User
I'm still trying to figure out why that is. At first I thought it was due to tweaking 2 versions ago, but when I restore all the changes it still occurred, so I'm still looking.
OK great
If you need an example, put an annual recurrence on 15oct2022 and you will see what happens.

Thank you for your great work
 

scsjc

Well-Known Member
Licensed User
Longtime User
Hi friends
I found a little bug, sometimes in firebase get "Fatal Exception: java.lang.IllegalArgumentException: width and height must be > 0"

The problem is in the line 506 "xCV_Header.Initialize(xpnl_HeaderDrawings)" inside DesignerCreativeView module "ASScheduler_MonthView.bas"
ΒΏSome easy solution to modify and correct this part of the module?




Thanks
 

Alexander Stolte

Expert
Licensed User
Longtime User
Update
  • 2.13
    • CalendarView
      • BugFixes
      • Add Designer Property ShowGridLines
      • Add Designer Property GridLineColor
    • MonthView
      • BugFixes
      • Add SelectDate - Marks the date as selected, without the need to call refresh
    • DayView
      • BugFixes
      • Add Jump2Date - Jumps to a date
In this update there are minor bug fixes and improvements under the hood.
 

yaqoob

Active Member
Licensed User
Longtime User
Hi Alexander,

I tried to get the date from the CalendarView Example using the following sub.


Get date:
Private Sub ASScheduler_CalendarViewMonth1_DayClick(Date As Long)
    Log(Date)
End Sub

Nothing happens when clicking on the date.

Can you please show how to get the clicked date from CalendarView Example
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…