question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Window + FrameView - Can the codebase be simplified by having them share code?

See original GitHub issue

Why 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:closed
  • Created 3 years ago
  • Comments:12

github_iconTop GitHub Comments

1reaction
tigcommented, May 26, 2020

The PoC I show off in #547 proves (to me anyway) that it’s possible to get rid of the ContainerView classes in both Window and FrameView. In fact, it proves that FrameView can be deleted completely.

0reactions
tigcommented, Apr 28, 2021

I still hate that Window and FrameView are basically the same but with different code. But it’s time to move on. Closing.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found