IdanB-Forsight
Topic Author
Posts: 12
Joined: 02 Apr 2024, 16:23

enable logger only after setting DataContext (avoid false-postive)

11 May 2025, 12:31

We're usign the SDK in native C++.
We work in MVVM design pattern, and currently, the ViewModel are created in a separate step, after the view is created.
When we first create the View, but before we assign it with the proper ViewModel instance,
the logger creates alot of "false-positive" for some "junk values" that exists, before this is assigned.

What are my options to avoid these false-positives logger entries ?
 
IdanB-Forsight
Topic Author
Posts: 12
Joined: 02 Apr 2024, 16:23

Re: enable logger only after setting DataContext (avoid false-postive)

12 May 2025, 08:15

I delayed the
Noesis::GUI::LoadComponent()
till after i set the data context, seems to solve it.
 
IdanB-Forsight
Topic Author
Posts: 12
Joined: 02 Apr 2024, 16:23

Re: enable logger only after setting DataContext (avoid false-postive)

15 May 2025, 13:48

getting in nested views binding errors now, not sure that is the proper solution.

Without setting binding manualy in code, how do i make sure that nested view doesn't "complain" about binding ?
 
User avatar
sfernandez
Site Admin
Posts: 3363
Joined: 22 Dec 2011, 19:20

Re: enable logger only after setting DataContext (avoid false-postive)

21 May 2025, 10:20

Let's talk about this issue in the ticket #4169 you opened.

Who is online

Users browsing this forum: No registered users and 6 guests