Down
Explore posts from serversTTCTheo's Typesafe Cult
•Created by Down on 9/16/2023 in #questions
creating fullstack dashboard with nextjs
Hey so i have already had this project set up but with react front and nestjs backend github link
I wanted to rewrite it to nextjs and someone recommended me t3-app to create full stack app with nextjs
so here i am asking how to do API in this cause the things it generates is kinda overwhelming for a beginner, can someone point me where to start? should i use tRPC?
3 replies
❔ xamarin listview doesnt update
hi so i have a weird problem in my code behind i have 2 methods one is called when searching and one is called when refreshing all i do in both is just reassign the ItemSource to new Items the weird part is that when i refresh nothing updates on screen while when i search and remove the text from search bar it is updated after
so basically looks like
listView.ItemsSource = SearchService.GetSearches(e.NewTextValue);
this line works while this does not listView.ItemsSource = SearchService.GetSearches();
3 replies
❔ filtering searches
So i have this field and i have a method
public static IEnumerable<SearchGroup> GetSearches(string filter = null)
that gets filter as parameter and needs to return new List<SearchGroup> but only with Searches thats Location property starts with filter value
tried doing it with Linq and i dont know how to make it
this is my attempt:
3 replies
❔ xamarin xaml binding
Is there a way to bind value of 2 varriables at once to one Label?
<Label Text="{Binding CheckIn, CheckOut, StringFormat='{0:MMM dd, yyyy} - {1:MMM dd, yyyy}'}"></Label>
Tried something like this i was hoping that i can make it format the label this way "{CheckIn:MMM dd, yyyy} - {CheckOut:MMM dd, yyyy}"
5 replies
beginner help
Hi so im new and i need to present in code this things:
Defining a class,
Field vs Property
Calling functions from the base class
Constructors
Static function
Static field
I know how to make few of them but still would be nice if you show me
23 replies