B4A Library VRCalendarView

https://github.com/VRGsoftUA/VRCalendarView

Flexible calendar view

Might not be fully working please start with the sample :D

VRCalendarView

Author: SMM
Version: 0.01
  • CalendarSettingWrapper
    • Functions:
      • Initialize (EventName As String, vcb As Settings)
      • IsInitialized As Boolean
  • ImageButton
    • Functions:
      • BringToFront
      • Initialize (EventName As String)
      • Invalidate
      • Invalidate2 (arg0 As android.graphics.Rect)
      • Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
      • IsInitialized As Boolean
      • RemoveView
      • RequestFocus As Boolean
      • SendToBack
      • SetBackgroundImage (arg0 As android.graphics.Bitmap)
      • SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int)
      • SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
      • SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int)
      • SetVisibleAnimated (arg0 As Int, arg1 As Boolean)
    • Properties:
      • Background As android.graphics.drawable.Drawable
      • Color As Int [write only]
      • Enabled As Boolean
      • Height As Int
      • Left As Int
      • Padding As Int()
      • Parent As Object [read only]
      • Tag As Object
      • Top As Int
      • Visible As Boolean
      • Width As Int
  • Settings
    • Functions:
      • Initialize (EventName As String)
      • IsInitialized As Boolean
    • Properties:
      • DayTextSize As Int [write only]
  • VRCalendarView
    • Events:
      • _getcustomizedayview As List
      • _oncalendardayclick (day As VrCalendarDay)
      • _oncalendardaylongclick (day As VrCalendarDay)
    • Fields:
      • FRIDAY As Int
      • MONDAY As Int
      • SATURDAY As Int
      • STYLE_BOLD As Int
      • STYLE_ITALIC As Int
      • STYLE_NORMAL As Int
      • SUNDAY As Int
      • THURSDAY As Int
      • TUESDAY As Int
      • WEDNESDAY As Int
    • Functions:
      • BringToFront
      • getDayOfWeekTextView (dayOfWeek As Int) As android.widget.TextView
      • GetTitleCalendarDate As android.widget.TextView
      • Initialize (EventName As String)
      • Invalidate
      • Invalidate2 (arg0 As android.graphics.Rect)
      • Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
      • IsInitialized As Boolean
      • moveToDate (date As Long)
      • RemoveView
      • RequestFocus As Boolean
      • SendToBack
      • SetBackgroundImage (arg0 As android.graphics.Bitmap)
      • SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int)
      • SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
      • SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int)
      • SetVisibleAnimated (arg0 As Int, arg1 As Boolean)
      • titleContainer As android.view.View
      • updateCalendar
      • weekContainer As android.view.View
    • Properties:
      • Background As android.graphics.drawable.Drawable
      • CalendarContainerView As android.view.View [read only]
      • Color As Int [write only]
      • Enabled As Boolean
      • Height As Int
      • Left As Int
      • NextMonthImageButton As ImageButton [read only]
      • OtherMonthTextStyle As Int [write only]
      • Padding As Int()
      • Parent As Object [read only]
      • PreviousMonthImageButton As ImageButton [read only]
      • Settings As CalendarSettingWrapper [read only]
      • Tag As Object
      • Top As Int
      • Visible As Boolean
      • Width As Int
  • VrCalendarDay
    • Functions:
      • Initialize
      • IsInitialized As Boolean
    • Properties:
      • Date As java.util.Date
      • Time As Long [read only]
      • VrCalendarDaySettings As VrCalendarDaySettings
  • VrCalendarDaySettings
    • Functions:
      • Initialize
      • IsInitialized As Boolean
    • Properties:
      • Day As Int
      • DayBackgroundColor As Int
      • DayBackgroundDrawable As android.graphics.drawable.Drawable
      • DayTextColor As Int
      • DayTextSize As Int
      • DayTextStyle As Int



VRCalendarView.jpg
 

Attachments

  • vrcalendar.b4a.zip
    33.8 KB · Views: 310
  • vrcalendarview.zip
    54.7 KB · Views: 281
Top