> For the complete documentation index, see [llms.txt](https://roudi.gitbook.io/guia-navigation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://roudi.gitbook.io/guia-navigation/advanced/custom-backstack-manager.md).

# Custom LifecycleManager

In this section we will see how we can use the `LifecycleManager` API to create custom containers for our backstack for different use cases. In this doc we will see two examples

* ViewPager
* Card Stack

You can find both examples in the [Sample app's custom feature.](https://github.com/roudikk/guia/tree/master/sample/feature-custom/src/main/java/com/roudikk/guia/sample/feature/custom)

<figure><img src="https://980840979-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBJIwhboCTKv47vfg2Xw3%2Fuploads%2FITb9o7NVT5HnjeaigSgR%2Fview-pager-stack.gif?alt=media&amp;token=bb38c3b2-92c6-4dd6-904f-3e5acc874bfa" alt=""><figcaption><p>ViewPager and Card Stacks using custom navigation containers and lifecycle management</p></figcaption></figure>
