cancel
Showing results for 
Search instead for 
Did you mean: 

FrontendApplication belongs to which part in MVP architecture, how to use it properly

CAbey.1
Associate II

I would like to know FrontendApplication (FrontendApplication.cpp) belogns to which part in MVP architecture. I have no idea what is the duty of FronendApplcation and how to use it because most of the given examples FrontendApplication.cpp do not have any custom code

Thank you

2 REPLIES 2
Yoann KLEIN
ST Employee

Hello @CAbey.1​,

FrontendApplication is a reference to the MVPApplication instance.

This FrontendApplication is contained inside the MVPHeap, which is used to obtain the memory storage areas for presenters, screens, transitions, and the concrete application.

If you want to understand concretely what you can use this file for, I strongly recommend you to take a look at the TouchGFX documentation, especially the articles about Dynamic bitmaps, Bitmap caching, and Binary fonts.

Hope that helps.

/Yoann

Yoann KLEIN
ST Software Developer | TouchGFX

Thank you very much for the answer. I'll go through them