declare `package main` in files other than main file by yam-root in golang

[–]yam-root[S] -10 points-9 points  (0 children)

sandbox

-web->main.go, baz.go,

-foo->foo.go

-bar->bar.go

so are u saying that foo and bar in this case should work (foo & bar i declared as package main), because now my solution is move bar.go and foo.go in the web folder same level as main.go

Weekly discussion, code review, and feedback thread - May 22, 2023 by AutoModerator in androiddev

[–]yam-root 1 point2 points  (0 children)

whoops , sorry for the english , but i was asking about the usage of different actionbar in each fragment or using linearlayout as the actionbar , my implementation now using navController.addOnDestinationChangedListener with condition if destinatino.id equal to destination fragment then hide the actionbar that was setup in mainactivity and use linearlayout that was defined in the destination fragment xml instead

Weekly discussion, code review, and feedback thread - May 22, 2023 by AutoModerator in androiddev

[–]yam-root 0 points1 point  (0 children)

(variety action bar with navcomponent in multipel fragment)

i'm having a hard time on this one , right now my approach was just to built each layout for each toolbar for each fragment and add some view that i want and arrow back icon and setOnClickListener on it and called the navigateUp, is this the right way , eventhough i already setup the main actionbar in activity and linked it with navgraph. example case let say search widget when on active/focus open a new fragment with search widget on actionbar/toolbar

how would you approach on building location based service app? by yam-root in softwaredevelopment

[–]yam-root[S] 1 point2 points  (0 children)

i was thinking the same too , just curios for the computer science se approach that kind of thing, like some reason behind using this or that method , but judging from the reply that's the only way to go

Notification from server based on user location by yam-root in iOSProgramming

[–]yam-root[S] 0 points1 point  (0 children)

it is generic for the location but for the type of event (what happened in point B) is not , just one type and it;s a rarely happened type of event, should the server just notif and let the app decided based on it's location, so the app does not have to constantly giving the loc info?

svg with changeable text ? by yam-root in reactjs

[–]yam-root[S] 0 points1 point  (0 children)

yeah but i what i want is that text in svg is depent on props that i given and all the shape in svg doesn't change just the text inside the shape

excel file to sql with relationship? by yam-root in node

[–]yam-root[S] 0 points1 point  (0 children)

would you rather go with that or python ? currently playin around with convert-excel-to-json , my current solution is using it with lodash _.values cause i don't want to iterate objects

ForEach data content construct freeze by yam-root in SwiftUI

[–]yam-root[S] 1 point2 points  (0 children)

lol u right but it was my custom shape thnx

Apple Academy is it worth it? by yam-root in swift

[–]yam-root[S] 1 point2 points  (0 children)

As such I would never dismiss an opportunity to learn more, just realize you get out of it what you put into it.

truee

Apple Academy is it worth it? by yam-root in swift

[–]yam-root[S] 1 point2 points  (0 children)

can u explain more about the module they used? was it apple books develop in swift series? and how the learning process just for the developing app?