Comparison of Android framework structure with MFC / Win32 structure?

I develop Android and Windows (using MFC, and sometimes win32), and yesterday I accidentally compared two structures. They are very, very different, and as a result, the development for ALOT windows is different from the development for Android. I was wondering where people think that frameworks like Android outperform structural frameworks like win32 (like Message system vs Event Listeners). I want to imagine a general opinion of this kind about comparison.

I would like to add that I understand that these frameworks work on a wide variety of devices (obviously, Windows has to deal with a lot more I / O and user input due to the many output devices that it has to deal with, and its complex GUI window), however, there must be some basic functions that these frames share, and which can be compared .., and if not, I’ll be an idiot (which undoubtedly someone will point out), I would like to know why this comparison invalid :) greetings .

Another example would be Android’s lack of MVP structure and Windows MFC Doc / View.

+4
source share
1 answer

Its been a long time since I touched mfc, but I would have thought that you can compare the intent model with the messaging model?

As for MVC, we decided to achieve this with a single action as a window manager, fragments are views and controllers are direct Java classes. I think that MVP can be satisfied similarly to the leading actions. It is possible to use a broadcast receiver as a front controller.

+1
source

Source: https://habr.com/ru/post/1437062/


All Articles