开发者

Focus in Calendar Component

开发者 https://www.devze.com 2023-03-17 18:58 出处:网络
What should I do to focus on the specific date in calendar component? I am not talking about indicator here. calendar.setCurrentDate() and calendar.setSelectedDate() gets the indicator on the date, b

What should I do to focus on the specific date in calendar component?

I am not talking about indicator here. calendar.setCurrentDate() and calendar.setSelectedDate() gets the indicator on the date, but focus is always on date of 1st sunday. I have read on net that this functionality is not provided by calendar yet. Do any one have a开发者_如何学运维ny idea? Any solution?


You can derive calendar and override updateButtonDayDate(Button dayButton, int currentMonth, int day).

Here you can perform a requestFocus() invocation when the specific date matches your requirement.

0

精彩评论

暂无评论...
验证码 换一张
取 消