# Embed one screen into another?

**URL:** <https://community.glideapps.com/t/embed-one-screen-into-another/17259>\
**Category:** Ask for Help\
**Created:** [October 17, 2020, 2:16pm UTC](https://community.glideapps.com/t/embed-one-screen-into-another/17259 "2020-10-17T14:16:23Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![forsdick](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/forsdick/32/26296_2.png) [@forsdick](https://community.glideapps.com/u/forsdick)\
**Post date:** [October 17, 2020, 2:16pm UTC](https://community.glideapps.com/t/embed-one-screen-into-another/17259/1 "2020-10-17T14:16:23Z")

</div>

I would like to have the ability to embed one screen into another. For example:

Home Screen might be:

- Visual Header Content for Home Screen
- Embed of Screen A
- Additional content unique to Home Screen
- Embed of Screen B

The advantage of doing things this way is that I would be able to link to Screen A or Screen B from other places in the app apart from their presence in the Home Screen.

---

<div class="post-metadata">

**Author:** ![Pedro](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pedro/32/15325_2.png) [@Pedro](https://community.glideapps.com/u/Pedro)\
**Post date:** [October 17, 2020, 3:55pm UTC](https://community.glideapps.com/t/embed-one-screen-into-another/17259/2 "2020-10-17T15:55:17Z")

</div>

Não sei se entendi sua pergunta, mas acredito que sim. Divida sua tela inicial em quantas partes desejar, em cada parte coloque uma imagem que tenha link para outra tela correspondente ao interesse. Resumindo, use imagens!

---

<div class="post-metadata">

**Author:** ![forsdick](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/forsdick/32/26296_2.png) [@forsdick](https://community.glideapps.com/u/forsdick)\
**Post date:** [October 17, 2020, 4:54pm UTC](https://community.glideapps.com/t/embed-one-screen-into-another/17259/3 "2020-10-17T16:54:30Z")

</div>

The problem with taking snapshots of screens is that the contents of the screens are dynamic and a snapshot won’t solve what I want to do. The closest thing to this is to include an inline list component in page. The problem with just including an inline list is that none of the header and trailer components of the complete screen are included in the inline list component.

---

<div class="post-metadata">

**Author:** ![kyleheney](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kyleheney/32/41173_2.png) [@kyleheney](https://community.glideapps.com/u/kyleheney)\
**Post date:** [October 17, 2020, 4:58pm UTC](https://community.glideapps.com/t/embed-one-screen-into-another/17259/4 "2020-10-17T16:58:33Z")

</div>

What header and trailer components do you mean? The details screen with multiple inline lists sounds like what you’d need.

---

<div class="post-metadata">

**Author:** ![Pedro](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pedro/32/15325_2.png) [@Pedro](https://community.glideapps.com/u/Pedro)\
**Post date:** [October 17, 2020, 9:58pm UTC](https://community.glideapps.com/t/embed-one-screen-into-another/17259/5 "2020-10-17T21:58:26Z")

</div>

Exato, primeiramente terá que usar a tela de detalhes. Depois poderá utilizar listas ou diversas imagens direcionadas as telas correspondentes.

---

<div class="post-metadata">

**Author:** ![forsdick](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/forsdick/32/26296_2.png) [@forsdick](https://community.glideapps.com/u/forsdick)\
**Post date:** [October 17, 2020, 10:20pm UTC](https://community.glideapps.com/t/embed-one-screen-into-another/17259/6 "2020-10-17T22:20:42Z")

</div>

Yes, now I understand. The only problem with inline lists is that you cannot toggle between list view and map view, and my walking tour app is more dependent on this capability than most apps.

Thank you for your advice. I am now headed in the right direction.

Regards,

– Harry

---

<div class="post-metadata">

**Author:** ![forsdick](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/forsdick/32/26296_2.png) [@forsdick](https://community.glideapps.com/u/forsdick)\
**Post date:** [October 17, 2020, 10:25pm UTC](https://community.glideapps.com/t/embed-one-screen-into-another/17259/7 "2020-10-17T22:25:10Z")

</div>

Pedro,

Thanks for your help. I am somewhat new to Glide and although a programmer for a long time, I have found it a bit difficult to understand the model of data and presentation templates supported by Glide, but I am mastering it slowly but surely.

Regards,

– Harry

P.S. I am thrilled that with the help of Google, I can now converse with someone who writes to me in Portuguese! – HF

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [October 17, 2020, 11:38pm UTC](https://community.glideapps.com/t/embed-one-screen-into-another/17259/8 "2020-10-17T23:38:08Z")

</div>

> [@forsdick](#):
>
> The only problem with inline lists is that you cannot toggle between list view and map view

> [@Adding components to an existing screen that is just a list/map of items](https://community.glideapps.com/t/adding-components-to-an-existing-screen-that-is-just-a-list-map-of-items/17218/2):
>
> You can if you switch to the Details layout and display the list as an inline list, but I believe you lose the ability have the button to switch between list and map view. (You have to pick one or the other). You can however get around this with two inline lists and a choice component to select which view you want. You can see what I mean here in the Food/Activities tab:

---

<div class="post-metadata">

**Author:** ![kyleheney](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kyleheney/32/41173_2.png) [@kyleheney](https://community.glideapps.com/u/kyleheney)\
**Post date:** [October 18, 2020, 12:39am UTC](https://community.glideapps.com/t/embed-one-screen-into-another/17259/9 "2020-10-18T00:39:32Z")

</div>

That 2nd point is exactly what I set up for someone else ---- a choice component above the lists to filter two inline lists (one map view only, one list view only). The appearance of the choices above was more intuitive too and worked out really well.

---

<div class="post-metadata">

**Author:** ![forsdick](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/forsdick/32/26296_2.png) [@forsdick](https://community.glideapps.com/u/forsdick)\
**Post date:** [October 18, 2020, 10:06pm UTC](https://community.glideapps.com/t/embed-one-screen-into-another/17259/10 "2020-10-18T22:06:29Z")

</div>

Jeff,

First, did you forget to include the example after the ending : in this message? I’d like to see your example. Imitation is the sincerest form of flattery…

I would still like to defend my idea for a way to embed one screen in another. It is really nice to be able to build up structures so that you don’t have to repeat pieces of a template when you want to use the same combination of components in two places. For example, in my app ([https://lexbyfandp.glideapp.io/](https://lexbyfandp.glideapp.io/)) I wanted to include the list of available tours in both the home page as well as separately in a tab of its own. On the home tab, it can be included inline without having to go to another screen/tab. In its own tab, it can always be separably accessed to see what other tours are available without having to go through introductory information about the entire app. Since this could be a multicomponent object, there is a need for this – think of it a component which is like an inline-list, only it could be a list of components along with formatting from a template.

What do you think?

– Harry

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [October 18, 2020, 10:32pm UTC](https://community.glideapps.com/t/embed-one-screen-into-another/17259/11 "2020-10-18T22:32:03Z")

</div>

No, didn’t forget the link. 🙂 If you open the thread I shared in my post, it will open the entire post with the app link in the other thread where I had replied to you in one of your other posts.
