Setting time and date to date picker and time picker in android

后端 未结 5 1556
谎友^
谎友^ 2020-12-17 07:49

I am using a date picker and time picker in my application. I want to set the date and time when the page loads. Is this possible? How so?

5条回答
  •  囚心锁ツ
    2020-12-17 07:59

    Check this How to use date picker dialog. and use update function in onCreate(); if by page loads you mean activity starts.... hope it helps.

提交回复
热议问题