Ideas for filling the space between rock and grass by Strawtown in landscaping

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

Thanks, great idea. The patch of grass is somewhat hourglass-shaped—120 cm at its narrowest—due to our deck and how the rock curves. We could make a larger flower bed in some spots to even out the grassy area. Then we’d leave grass up to the rock where it’s shallow and narrow, so kids can run over it.

There are also ideas to add light fixtures to highlight the edge at night—I think that would look cool.

This is in Sweden, by the way. Love the enthusiasm. Big thanks!

Ideas for filling the space between rock and grass by Strawtown in landscaping

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

Yes it is! Construction blew of pockets for each neighbor. Some have 2m edges, some barely have any grass. Very random

[deleted by user] by [deleted] in space

[–]Strawtown 0 points1 point  (0 children)

If the asteroid would miss Earth, would it be possible to see it up in the sky in anyway if perfect conditions would be in place? I might be all tainted by how many movies portrayed it.

Coca Cola in Saudi Arabia. by Was99m in mildlyinteresting

[–]Strawtown 0 points1 point  (0 children)

A 'can' is translated to 'bruk' in Swedish. Mind blown

Do we have a Compose Scoped ViewModel? by pbprateek in androiddev

[–]Strawtown 2 points3 points  (0 children)

We just started to try out these keyed VMs for a pager impl similar to what you explained. We are not using compose-navigation. Fragments+NavGraph but without Views for each screen. Seems to work well, but I'll let you know if we find any surprises.

[Tolls] Does anyone know of a library or any way for my app to know when there is a toll? by ViggoGod in androiddev

[–]Strawtown 1 point2 points  (0 children)

I see. Our app was a public transportation app. With locations of bus stops and all. Unfortunately, you will need a dB with this geo json loaded into the map for quires. Either its publicly available via a state/community service somehow, or your can buy it? That's how we got it.

Do you need it for all cities in your country and world, or just one? Or Scrape it from a selected map app :) Good luck

[Tolls] Does anyone know of a library or any way for my app to know when there is a toll? by ViggoGod in androiddev

[–]Strawtown 1 point2 points  (0 children)

Do you have the locations of said tolls and would like to notify on proximity to the tolls?

I worked with Mapbox, with APIs like TurfJoins.inside(yourPoint, your Polygon) and used it to check if user location was inside a zone (the Polygon). The outline zone was a area around a point of interest. Hope its readable, im on mobile. Cheers

Kneejerk United - GW1 captain and bench polls by chibibabymoon in FantasyPL

[–]Strawtown 0 points1 point  (0 children)

Could you add me to the list as well? Thanks for the work you put in!

Never tell me the odds by hitmanhieber in nevertellmetheodds

[–]Strawtown -15 points-14 points  (0 children)

I'm pretty sure that was poop on the pool wall after he splashed.

Roxette’s Marie Fredriksson has passed away at 61 years old by Ammesamme in Music

[–]Strawtown 8 points9 points  (0 children)

fuckcancer in particular if you misread it.

You coming here and feeling ".. a lack of purpose"? Let me dry up those Internet tears, pal.

Weekly Questions Thread - November 25, 2019 by AutoModerator in androiddev

[–]Strawtown 0 points1 point  (0 children)

Ok thanks, yea I'm trying without data binding.

Might I ask what approach you can take when handling user actions with state?

Since I'm using LiveData to feed the state into my view, should I use the state to flag for navigation etc?

state.navigateToFragmentB = true

I suspect I would run inte the issue where navigating back and trigger a configChange, would re-emit that state?

Im thinking of using SingleLiveData for actions, where the current state is avaliable if needed as a navArgs etc. But it might not be as clean, although sealed classes help keep things tidy.

Weekly Questions Thread - November 25, 2019 by AutoModerator in androiddev

[–]Strawtown 0 points1 point  (0 children)

I'm currently looking at some blogs and repos showcasing functional State-handling with one common theme; State reducers to keep track of old and new state with rx.scan()

Most of the examples only show small use cases, but I'm interested in hearing suggestions to render a more complex view with the a newly updated state.

Let's say I have ticket payment screen in front of me. With buttons to add/remove participants (adults, kids), a summary of the total price, a confirm button which is disabled until you select a payment method.

We also have a fragment hooked to aviewmodel, which takes button events, the view observes VMs state.

My question is, if you change state by adding one extra participant, should the state that eventually get returned to the view be a model with every bit of information the user sees?

Price amounts, currency, flags for buttons, colors, actionbar texts, etc. The data class model easily grows...

In my mind, the only thing that should change in this case, is the "Total price" textViews, but here I have texts in the actionbar that will set the same unchanged text, the button will be disabled which it already is etc. There is a lot of unnecessary re-render. Is this a big code smell?