BlackBerry Java detects screen foreground events

In my BlackBerry application, I have a home screen The user can then navigate to the settings screen When the user returns to the home screen, is there no method called on the home screen to indicate that the screen has reached the foreground?

I tried onfocus () to no avail

thank you!

Solution

You should be able to use protected void onexposed() to detect when it displays again

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>