Window + FrameView - Can the codebase be simplified by having them share code?
See original GitHub issueWhy does Window
have an embedded ContentView
.
It seems like un-needed extra complexity.
Both are inherited from View
, so both have the same capabilities.
The lifetime of contentView
is the same as the Window
.
Same question for FrameView
.
What am I missing?
And, while I’m at it: What is the difference between Window
and FrameView
? They do exactly the same thing, as far as I can tell. And they look the same visibly. Why do both need to exist?
Issue Analytics
- State:
- Created 3 years ago
- Comments:12
Top Results From Across the Web
What a good debugger can do
Having them open in other windows independent of the original debugger, being able to interact with them using code (which can be debugged...
Read more >Building the User Interface with XAML - Xamarin.Forms ...
Xamarin.Forms is, at its core, a library that allows you to create native user interfaces from a single C# codebase by sharing code....
Read more >UIKit | Apple Developer Forums
I am developing a drawing app that supports multiple canvases for drawing. I manage these canvases using a collection view with paging enabled....
Read more >a hierarchy-aware approach to faceted classification of ...
This article presents a hierarchy-aware classification schema for object-oriented code, where software components are classified according to their ...
Read more >Educational Fusion: an Instructional, Web based, software ...
students collaborate with fellow students, and seek guidance from teaching staff. 3.1 Computer Graphics. In order to best illustrate the eFuse system from...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The PoC I show off in #547 proves (to me anyway) that it’s possible to get rid of the
ContainerView
classes in bothWindow
andFrameView
. In fact, it proves thatFrameView
can be deleted completely.I still hate that
Window
andFrameView
are basically the same but with different code. But it’s time to move on. Closing.