Fragments: Various samples that demonstrate fragment layouts, back stack, restoring state, and more.
Fragments:演示fragment布局,回退栈,状态存储等
If you do not add the transaction to the back stack, then the fragment is destroyed when removed or replaced.
如果不事务添加到后面栈,然后取出或替换时,该片段被破坏。
Note: When you remove or replace a fragment and add the transaction to the back stack, the fragment that is removed is stopped (not destroyed).
注意:当您删除或替换片段和交易添加到后面的堆栈,即去掉停止片段(不被破坏)。
He ordered them to stack up pillows behind his back.
他命令他们在他背后堆放一些枕头。
I went off to the stack and found some really good material for my part, but when I got back to our table, they were just goofing off and talking.
于是我动身走去那堆书那里,并找到了很多对我这部分来说很有用的材料。但是当我回到我们的桌子旁时,他们只是在那儿聊天、消磨时间。
As you navigate through the application you build a stack of activities that you can then pop out of by using the back button on the phone.
当您在应用程序中导航时,就创建了一个活动堆栈,使用手机上的后退按钮就就可从该堆栈中出来。
The directory stack enables you to store one or more directories into a temporary area, and then bring them back again.
目录堆栈使您可以将一个或多个目录存储到某个临时区域中,然后再次调回它们。
Each stack frame holds a pointer to the previous stack frame (called the back chain pointer), as well as a space for return addresses for when it calls other functions.
每个堆栈框架都有一个指向前一个堆栈框架的指针(称为回链指针),还有一个当它调用其他函数时用于存放返回地址的空间。
Next, the current stack frame pointer is stored as the back pointer for the next stack frame, even though you haven't established the stack frame yet (this is done through negative offsets).
接下来,当前堆栈框架指针会被存储为指向下一个堆栈框架的后向指针,虽然尚未建立堆栈框架(这是通过负的偏移量实现的)。
The list of directories ACTS like a stack — you push a directory onto the top of the stack, and pop a directory off the top again to get it back.
该目录列表的行为就像一个堆栈——您将一个目录压入堆栈顶部,并从顶部弹出一个目录以取回它。
The back chain pointer points to the back chain pointer of the previous stack frame.
回链指针指向前一个堆栈框架的回链指针。
The stack reacts to the timeout by resetting the congestion window back to an empty state.
栈对超时的响应是把拥塞窗口重设回空状态。
You can use a Back button in any view to navagate inside your stack views.
您可以在任何视图中使用 Back按钮浏览您的堆栈视图。
Stack back trace for the current active task as well as for all other tasks (by process ID).
对当前活动的任务和所有其它任务进行堆栈回溯跟踪(通过进程ID)。
InfoQ: Many people would argue that converting XML to objects and back is exactly the functionality they're looking for in a Web services stack.
InfoQ:许多人认为,将XML转化成对象再转化回来,这正是他们在WebServices堆栈中寻求的功能。
Notice that if we click back a few times, then click Add, the stack is truncated, and the new event is pushed onto the top of the shortened stack.
还要注意的是,如果单击几次后退然后再单击add,那么堆栈会被截掉一部分,新的事件被压入缩短的堆栈顶部。
So, the code loops back, points to the proper top pointer (which was changed because of Thread b), invokes CAS, and is done with pushing 20 into the stack.
因此,代码回到循环的开头,指向正确的top指针(线程b修改后的),调用CAS,把20压入堆栈后结束。
Cluck and confess are like warn and die respectively but provide a stack back trace from the point where the error was raised.
cluck和confess分别与warn和die类似,但提供了从产生错误处的栈回溯追踪。
The Xen management stack supports SLA guarantees, along with detailed metrics for charge-back.
Xen管理栈支持SLA保障,以及具体的退款标准。
At DIAGLEVEL 3 (default), the db2diag.log captures a stack trace back, and even gives you the line number within the code where the exception is caught.
在DIAGLEVEL3(默认设置)上,db2diag . log捕获堆栈跟踪,甚至给出代码中捕获到异常处的行号。
We need to subscribe to that event so that we can manipulate the Stack Controller when the user chooses to go back to a previous page in the breadcrumb trail.
我们需要订阅该事件以便在用户选择返回到breadcrumbtrail内之前的页面时能立即处理此StackController。
Plus, you can navigate forward and backward through a stack of generated Browse Diagrams (or navigate back to the home diagram), just as the name implies.
此外,您可以向前和向后导航被生成的浏览图的栈(或者导航回到主图),就如同名称中所暗示的那样。
Often, as work items such as requirements come off the stack for implementation in the current iteration, an equal or greater number of work items are added back to the stack.
通常,随着需求条目从本次迭代中的执行栈中移除,相等数量的或者更大数量的工作条目就会被添加回这个栈中。
You're literally going back to a previous call stack.
也就是直接返回到一个先前的调用栈。
Writes any result back on the stack.
将结果写回堆栈。
They try to bring things back on track and like to see the world in order, just like a perfect stack of playing CARDS!
他们试图把事情归入正轨,把世界带入正常秩序,就像叠扑克一样完美。
For “Lock [AQS@135]”, it contends in one place, showing contention count, contention time, and full stack back trace of the contention.
对于“Lock [AQS@135]”,它在一个程序位置出现竞争,显示了竞争的次数,时间和竞争时刻的线程调用栈。
Android maintains a history stack for every application run from the home page, and you can click the back button to scroll back through this history of activities.
Android维护每个从主页中运行的应用程序的历史堆栈,您可以单击Back按钮回滚这些活动的历史。
The final item in the stack frame is a pointer to the previous stack frame, often called the back pointer.
堆栈帧中的最后一个条目是一个指向前一堆栈帧的指针,通常被称为后向指针(back pointer)。
When the user presses the BACK key, the current activity is popped from the stack, and the previous one resumes as the running activity.
当用户按下BACK键后,正在运行的活动被弹出栈,旧一个恢复成为正在运行的活动。
应用推荐