Tasks and the Back Stack (Android Development Patterns)

Subscribers:
1,350,000
Published on ● Video Link: https://www.youtube.com/watch?v=MvIlVsXxXmY



Duration: 4:11
135,006 views
1,168


Check out the blog post: https://goo.gl/nm5yjz

If every Activity in your app is part of a task, it makes sense to know what a task is (a stack of activities) and how the default behavior of the back button affects your Activity and Fragments you’ve added with FragmentTransaction’s addToBackStack() method.

Ian Lake also explains why SINGLE_TOP is a useful launchMode for your Activity and how to work with notifications that deep link into your app by using TaskStackBuilder: http://goo.gl/rWFOwT

Read through all the documentation at http://goo.gl/KEBnbO

#BuildBetterApps #AndroidN #lifecycle

Subscribe to the Android Developers channel at http://goo.gl/GEh1ds







Tags:
Android
Tasks
back stack
back button
TaskStackBuilder
notifications
FragmentTransaction
addToBackStack
single top
#BuildBetterApps
#android
#androiddev
android
google
developer
developers
app
BuildBetterApps
androiddev
lectures
tutorial
how to
lesson
development patterns
application
product: android
fullname: Ian Lake
Location: MTV
Team: Scalable Advocacy
Type: DevByte
GDS: Full Production