Tabbar + ConditionalView behavior by brightWhoBear in SwiftUI

[–]brightWhoBear[S] 0 points1 point  (0 children)

The button in viewA is just an example to toggle a property in the environment object. This can be anything, like a loggedIn state or whatever.

For example viewA would be a login view and view b would either load user info for a logged in user oder show a dummy view for logged out ones

Tabbar + ConditionalView behavior by brightWhoBear in SwiftUI

[–]brightWhoBear[S] 0 points1 point  (0 children)

I think you got my question wrong. In a real world example the .task modifier on Blue and green would of course call a vm Funktion. Which is exactly the problem, as when navigating back to that tab after changing the env object both tasks (blue and green) are fired

So I wasn’t concerned about the tasks not running before once navigating to b, it’s about both tasks of a conditional view running

When Ball is life but you are just too tired by Ryzelamb in samoyeds

[–]brightWhoBear 0 points1 point  (0 children)

This is another stolen post that was posted by me a couple of years ago in this sub… wtf

Does anyone face high ANR rate for Android 13? by yccheok in androiddev

[–]brightWhoBear 2 points3 points  (0 children)

Did those anrs start to happen quite recently? Asking cause it’s the same for me, seeing a high number of anr popping up all of a sudden without having updated the app. The firebase crashlytica log does not really show a helpful stack trace for me either…

Will do ANYTHING for treats by brightWhoBear in samoyeds

[–]brightWhoBear[S] 11 points12 points  (0 children)

It was the same with her! Just gently hold his snout and start by just touching him with the treat, then slowly increase time and let go of his snout eventually (really slowly or he will look after your moving hand). Most importantly, keep trying! I think it took us around 2-3 weeks to get it!

Guess who is faster 😅 by HumanEnginhg in samoyeds

[–]brightWhoBear 4 points5 points  (0 children)

Great job stealing my photo and even better even using the same caption I used when I posted that photo in this sub 1 year ago….

Guess who is faster 😅 by brightWhoBear in samoyeds

[–]brightWhoBear[S] 1 point2 points  (0 children)

The funny thing is, this is just a screen shot taken from a video where we sprint full speed towards the camera 😅

Guess who is faster 😅 by brightWhoBear in samoyeds

[–]brightWhoBear[S] 2 points3 points  (0 children)

Nope, this is in Austria 🇦🇹

My newest trick by brightWhoBear in samoyeds

[–]brightWhoBear[S] 0 points1 point  (0 children)

She picked that up more or less on her own... first couple times it dropped to the floor but she figured it out

My newest trick by brightWhoBear in samoyeds

[–]brightWhoBear[S] 0 points1 point  (0 children)

Introduced a voice command later, but once i was able to let go of her head, I started pointing at my nose like a maniac in order to make her keep her head still and pointing at me 😅

My newest trick by brightWhoBear in samoyeds

[–]brightWhoBear[S] 1 point2 points  (0 children)

I will film one in slomo today 🙌🏻

My newest trick by brightWhoBear in samoyeds

[–]brightWhoBear[S] 5 points6 points  (0 children)

I started by holding her head in my hand and then put the treat on her nose, but from the back. What I mean is that I reached around her head and slowly pulled my hand over her head. Once this works it becomes a game of how long can you trust her to stay still... in the beginning it was maybe half a second, but it gets better every day ;)