由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
MobileDevelopment版 - 一个android Activity复用问题,求解答
相关主题
Obama announces $263M in funding for police body cameras and training那个Control可以做这个事情?
add app purchases to their mobile bill.net 有没有folding/collapsing控件
亚马逊的智能音箱 Echo 销量达到 500 万 zz请教两个c# sql listview 问题
一个android Activity复用问题,求解答 (转载)c#:how to disable control update itself in windows form?
iphone4的多任务一上来就说自己是cmu毕业的(此时楼主
android 怎么关app?zz面试小刘碰见cmu大妈 (转载)
为什么bb详情页上显示店里没库存,输入zip查询的时候就有了?帮我看下这是份什么工作,不是骗钱的吧?
C# listview中的动态查找我也来贡献一下亚马的题
相关话题的讨论汇总
话题: activity话题: task话题: 复用话题: 详情页话题: listview
进入MobileDevelopment版参与讨论
1 (共1页)
s********r
发帖数: 24
1
假设有一个listview,点击item进入详情页activity,但是按返回键以后activity销毁
。现在想知道怎么能复用这个详情页activity,点击返回键不销毁activity,点击
listview item可以重新传值,复用详情页activity。
z*******n
发帖数: 1034
2
FLAG_ACTIVITY_NEW_TASK
Start the activity in a new task. If a task is already running for the
activity you are now starting, that task is brought to the foreground with
its last state restored and the activity receives the new intent in
onNewIntent().
This produces the same behavior as the "singleTask" launchMode value,
discussed in the previous section.
理解task概念 https://developer.android.com/guide/components/tasks-and-back-
stack.html

【在 s********r 的大作中提到】
: 假设有一个listview,点击item进入详情页activity,但是按返回键以后activity销毁
: 。现在想知道怎么能复用这个详情页activity,点击返回键不销毁activity,点击
: listview item可以重新传值,复用详情页activity。

1 (共1页)
进入MobileDevelopment版参与讨论
相关主题
我也来贡献一下亚马的题iphone4的多任务
MathWorks 面经android 怎么关app?
any open source project for this problem?为什么bb详情页上显示店里没库存,输入zip查询的时候就有了?
fb国内申请的曲折经历+电面C# listview中的动态查找
Obama announces $263M in funding for police body cameras and training那个Control可以做这个事情?
add app purchases to their mobile bill.net 有没有folding/collapsing控件
亚马逊的智能音箱 Echo 销量达到 500 万 zz请教两个c# sql listview 问题
一个android Activity复用问题,求解答 (转载)c#:how to disable control update itself in windows form?
相关话题的讨论汇总
话题: activity话题: task话题: 复用话题: 详情页话题: listview