Android Question select date issue in SDCalenderDialog

Discussion in 'Android Questions' started by Shripal Dalal, Dec 14, 2017.

  1. Shripal Dalal

    Shripal Dalal Member Licensed User

    I am using this attached date project into my ongoing project.
    i picked SDCalendarDialog4 from example project and simply put on my designer. and i had put a class "SDCalenderDialog" into project.

    The problem i face is - date dialog always open a predefined date i.e 1st may 2017.
    i used datetime.now to get current date.

    Code:
    Sub Activity_Create(FirstTime As Boolean)
        
    Activity.LoadLayout("main")
        SDCalendarDialog4.SetDate(
    DateTime.Now)
    End Sub
    Problem scenario is:-
    If i select date dialog it always opens date i.e 1st may 2017.
    for example: if i select 1st oct 2017.
    But when i click that date again it opens that predefined date which was 1st may 2017 and not 1st oct 2017

    Desired result:-

    it should open selected date i.e 1st oct 2017.

    anybody have any idea on how to achieve the above mentioned desired result?
     

    Attached Files:

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice