Ti.MaterialCalendarView is a wrapper for the Material-calendarview Android module.
It will add a full calendar with animation and events (currently: select day).
These instructions are being shipped with the module, so you can check later on your README file.
This project uses HyperLoop. We recommend you to read the basics of HyperLoop in the links below before proceeding any further in this README.
need to learn Objective-C / Swift if you want to customise the module / create your own. For that reason we highly recommend you to
learn the basics of Objective-C / Swift.
In the long run that will make your job easier, since Objective-C is far from being an easy language to understand at the first sight.
This module was tested and developed with the following environment:
- Titanium SDK 5.4.0.GA
- HyperLoop 1.2.5
Creating a HyperLoop-enabled project
- Create a new Alloy project like you would normally do.
- Take a look at the example tiapp.xml file that you’ve received from us. Your tiapp.xml should have the same properties defined in this example
otherwise you’ll face some issues while building your project later on. Remember to change the GUID AND PROJECT ID!
- Copy the files provided in the “app” folder to your project’s “app” folder as well.
Inside the official manual you’ll find many methods you can use to adjust the look and feel of the view. E.g. to set the color of the selected day you can use
Use app/platform/android/res/color/mcv_text_date_light.xml to adjust the colors like current month days, other month days, etc.
The onDateSelected will return the selected date as a CalendarDay.
One of the things we want to offer you as a reward for joining LoopModules is the ability to contact us to discuss and get help with problems that you may come across.
We’ve tested this module a lot of times and we want to deliver something that will work for everyone (as long as the environments are the same, e.g. SDK, HL version, and so on).
If you come across one of the following:
- Issues while compiling this module