CalendarView: Make simple calendar views

1.Introduction

Description: A simple extension to create calendar views
Latest Version: 1.1
Released: 2021-04-27T18:30:00Z
Last Updated: 2021-04-27T18:30:00Z

2.Blocks

image

3.Usages

Create View
image

Set Date
image
animate => boolean : Whether to animate the scroll to the current date
center => boolean : Whether to center the current date even if it is already visible

4.Download

Download Aix: com.sunny.calendar.aix (7.0 KB)

ChangeLog Version 1.1

Bug Fixes

  • Fixed minor bug in DateChanged event

Hope it helps!

9 Likes

Wow Nice Extension

1 Like

can you show the result?

Are the dates meant to be missing? This was my result.
image

Blocks.

You should:

  1. make arrangement fill parent
  2. change background color
1 Like

Great it worked!
:smiley:

But....

image

Seems like it returns millis in some different format.
I shall check.

1 Like

Hmmm, selecting today's date (MM/dd/yyyy) returns 10/11/0033 (should be 04/28/2021), but the correct time.

This works fine.
com.sunny.calendar.aix (7.0 KB)


ChangeLog Version 1.1

?

image

Nice calendar view.

Strange...

even more strange....

OK, this was testing with companion on my genymotion emulator (Android 10).

Tested on real device in companion and the date reported correctly.

(I'll have a look at date/time settings on the emulator, see if i can find the issue)

That works now on emulator (but if the same as before, v1.1, I did update. Must have needed a refresh.

All sorted :smiley:

Needs a removeview() block to prevent errors when trying to refresh calendar view.

I do not understand how to use the blocks? Can someone share the demo project file here? I should have to design that arrangement or should be empty, the content will be created by extension itself? Confusing...?

For me it's working fine:

What is the effect of this?
grafik

See blocks above:
calender.aia (8.3 KB)

1 Like

It specifies whether animation should be shown while scrolling to the given date.