开发者

How to use moveTaskToBack() ??

开发者 https://www.devze.com 2023-03-23 14:25 出处:网络
moveTaskToBack() function is no开发者_JAVA百科t found, I have tried using ActivityManager.moveTaskToBack() and Activity.moveTaskToBack() but there is no function of such type.

moveTaskToBack() function is no开发者_JAVA百科t found, I have tried using ActivityManager.moveTaskToBack() and Activity.moveTaskToBack() but there is no function of such type. How can I use it ?


It is

moveTaskToBack(boolean)

so if you want to move it to back, you must call

moveTaskToBack(true);

btw: if you are using eclipse just move your mouse pointer on function and some yellow window will show with all explanation of it

0

精彩评论

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