---
title: "Álefe Lucas (@alefelucas) | Hashnode"
description: "Álefe Lucas (@alefelucas) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@alefelucas"
---

@alefelucas

# Álefe Lucas

@alefelucas · Joined November 2023

## Comments

[Let's introduce a difficulty: suppose your SecondFragment can also be accessed by another flow unrelated to the HomeFragment. Like this: OutsiderFragment -> SecondFragment If you press the back button in the SecondFragment in this stack, you wanna go to the OutsiderFragment, not the HomeFragment. Thus, SecondFragment must NOT assume it always came from the HomeFragment via FirstFragment. An extra point if this behavior can be manager without SecondFragment knowing from where it came from.](https://hashnode.com/posts/building-an-artificial-back-stack-with-the-android-navigation-component/61c89dfa1de80a7fb227f39a/comment/6557b2bc39755956a6312cdd)

Comment · Article · Nov 17, 2023 · [Building an artificial back stack with the Android Navigation component](https://hashnode.com/posts/building-an-artificial-back-stack-with-the-android-navigation-component/61c89dfa1de80a7fb227f39a)
