Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

How to programmatically close DatePicker.

$
0
0

Hi,

in my app sometimes (after a period of inactivity) I need to display a password screen, then return to previously displayed content. There are some problematic situation and one of them is when a DatePicker is displayed (in Android). My password screen displays underneath it.
First I need to keep track of currently displayed DatePicker (if any). It seems Focused and Unfocused do not fire for DatePicker. Second, I need to close the currently open DatePicker, but Unfocus() does not close it.
I'd like to close the DatePicker before I display my screen. Is there any way to do this?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>