Skip to main content
CAbey.1
Associate III
March 30, 2023
Question

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

  • March 30, 2023
  • 2 replies
  • 845 views

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

This topic has been closed for replies.

2 replies

Yoann KLEIN
ST Employee
March 30, 2023

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 KLEINST Software Developer | TouchGFX
CAbey.1
CAbey.1Author
Associate III
April 7, 2023

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