1,344 questions
1
vote
1
answer
73
views
MAUI C# Listview blank cells
Can anyone tell me why this doesn't work.
I am targetting Windows at the moment..
when I run it the cells appear on the page but there is no text in them.
I get the same problem with CollectionView.
I ...
0
votes
1
answer
77
views
.NET Maui CollectionView loads in duplicate objects when scrolling
When I scroll on my CollectionView in my .NET Maui app, the items that are loaded are duplicates of the ones that are already showing.
This is the start of the CollectionView:
Once we scroll, we can ...
1
vote
1
answer
79
views
CollectionView inside CarouselView doesn't scroll in Android (MAUI)
I'm trying to implement similar functionality to how Gmail and Outlook apps works, e.g. user can swipe left/right to navigate between emails and inside email you can also horizontally scroll ...
0
votes
3
answers
94
views
Collection view single preselection doesn't work
I'm working on .net maui and I'm facing a strange issue; I have a CollectionView with bounded ItemsSource and SelectedItem.
I'm trying to do a simple preselection to set CollectionView's SelectedItem ...
0
votes
1
answer
167
views
.NET MAUI Buttons inside ContentView
Goodmorning,
i have a button inside a content view which is reused many times in many different content page.
Almost all the times i have a collectionview to displays elemenst of this contentview type,...
0
votes
1
answer
145
views
.NET MAUI SwipeGestureRecognizer never trigger in Android but trigger in iOS
Recently I published App in PlayStore & AppStore. I using DOTNET MAUI 8.0.403 in Mac VS Code. Now I'm experiencing an issue where the swipe gesture doesn't triger in Android Emulator. But it ...
1
vote
3
answers
352
views
Maui CollectionView scrolls to top when replacing an item - But only on Windows
I have a cart system on a catalog of items with 2 DataTemplates.
one is for item with a count of 0.
a second for items with a count greater than 0.
We use an Add button within each item
For the ...
0
votes
0
answers
149
views
CollectionView control in a MAUI .net 9 app only fires load more items command once when supporting increment load
I am using a CollectionView component in a page and loading data incrementally to support large list of items.
Here is the view XAML:
<?xml version="1.0" encoding="utf-8" ?>
&...
0
votes
0
answers
14
views
How to clear selection in a CollectionView by clicking OK in a DisplayAlert?
**Hello everybody. I´m trying to clear selection in a CollectionView after clicking "OK" in a DisplayAlert but I haven´t be able to achieve it. Here´s my original code (regci is my database):...
1
vote
1
answer
116
views
XAML Binding warnings when using commands and AncestorType
I have a small MAUI program using CollectionView - and per item, there are buttons attached with a command (like changeitem)
The app is working. But I am getting warnings at compile and runtime about ...
2
votes
1
answer
541
views
How to fix MAUI application crash with "Layout cycle detected. Layout could not complete." exception when data is loaded into views beyond a limit
We are using MAUI platform in .NET8 to build an application that shows tabular data of tasks assigned to folks for a duration of days. The page loads fine and shows the data in the grid for a smaller ...
1
vote
3
answers
831
views
ObservableCollection Not Updating UI After Refresh in .NET MAUI
I'm developing a .NET MAUI application where I have a ClientReviewsViewModel that uses an ObservableCollection to display a list of reviews. The reviews are displayed in a CollectionView, and I'm ...
0
votes
0
answers
102
views
Maui CollectionView<T> problems with SelectionMode=Single and rows display
I have a CollectionView<T> with 2 columns.
The SelectionMode=Single.
Problem :
The second column displays only a few colors names,
not all and after a selection no more color names !...
0
votes
1
answer
546
views
.Net Maui CollectionView selected Item not highlighting
I created a Collection View to resemble a data table and everything is working except for the selected item highlighting. I tried changing the color using visual state managers but still nothing. I ...
1
vote
1
answer
321
views
.NET MAUI Conflict between Long press selection and CollectionView default selection and other gestures
I have a collectionview and I want to enable selection only on longpress and once the long press is enabled I don't want any gestures to be invoked on that image or item in collectionview.
If tapped ...
0
votes
2
answers
251
views
Maui Picker in a CollectionView Item, Can't bind SelectedIndexChanged to the collection item object
I have cart items in a Grid inside a DataTemplate for showing CollectionView items.
In the cart I have Add/Remove buttons with Commands that route to the CartViewModel and pass a CommandParameter of ...
0
votes
1
answer
402
views
How to use drag and drop gesture to CollectionView in MAUI
I am trying to implement drag-and-drop functionality for CollectionView in my .NET MAUI project.
When I try to drag the image, the program pauses due to an exception. How can I fix this?
The ...
2
votes
2
answers
595
views
CollectionView's RemainingItemsThresholdReached event firing before loading the data on UI
I have a collectionview on my UI and I load 20 items initially. I have added RemainingItemsThresholdReached event for loading next 20 items when I reach the end of first 20 items. But after loading ...
0
votes
2
answers
767
views
Binding Issue in MAUI CollectionView: Property "FileName" Not Found in DataContext
I am working on a .NET MAUI application and am having trouble binding a property in a CollectionView. Specifically, I am trying to display a list of uploaded files and their filenames, but I am ...
0
votes
1
answer
108
views
Converter behavior miss first item in a CollectionView updating items
Disclaimer : I know this is not respecting MVVM pattern, I twisted it on purpose to reflect in UI while testing/ debugging.
To brief things up, I have a first CollectionView bind to an ...
0
votes
1
answer
253
views
CollectionView SelectedChangedCommand executes multiple times - .NET MAUI
I am using a CollectionView where I need to navigate to new page on SelectedChangedCommand.
But the command bound to SelectedChangedCommand execute multiple time for a single selection.
I have a ...
0
votes
1
answer
121
views
NetMaui - CollectionView isn't showed on Android
I created a NetMaui Application and in a page I have a collectionview
when I execute the application in windows I don't have problem , but in android the collectionview isn't showed
I have this ...
0
votes
1
answer
233
views
problem deleting Item in collectionView .NET Maui
I´m trying to delete an object named SelectedOrder in TableData of my viewmodel.
Binding works perfectly but when I tapped de Item to be deleted, in my viewmodel the variable SelectedOrder is null ...
0
votes
1
answer
506
views
Issue with CollectionView RemainingItemsThresholdReached event
I am facing 2 issues with the CollectionView:
I have given RemainingItemsThreshold="0" for CollectionView, but the RemainingItemsThresholdReached event is firing before reaching the last ...
3
votes
1
answer
732
views
MAUI: Collectionview content is not visible when adding a RefreshView
I have added a RefreshView for a CollectionView. After adding RefreshView, the CollectionView contents are not visible on the UI. The CollectionView contents are visible on the UI before adding ...
2
votes
1
answer
940
views
CollectionView in .NET MAUI is not displaying items returned from an API call
I have an existing app that I need to upgrade to MAUI, having a slight issue on the display end. I have migrated up to .NET MAUI just recently and I know that I am close to getting these suckers ...
1
vote
1
answer
440
views
.NET MAUI CollectionView scroll height not updating when IsVisible is changed on items
I have a CollectionView on a .NET MAUI Application, which shows a list of components. It is configured as follows:
<Grid Grid.Row="2" RowDefinitions="*">
<...
3
votes
0
answers
1k
views
CollectionView in MAUI is slower than Xamarin
I'm using Collection View to display the list of data in a table format, similar to a structured table.
The table must be both horizontally and vertically scrollable. In the MAUI Collection View, I'm ...
1
vote
1
answer
137
views
Changing CollectionView layout stretches each item to width of screen
I am trying to make a "See more" button display more, or less items. "Less" is defined as a horizontal list displaying multiple items at a time, whilst "More" is a ...
0
votes
1
answer
550
views
MAUI CollectionView Parent value to children example/guidance needed
This should (hopefully) be an easy thing to answer. I have a collection view that is bound to a JSON data source, and a button in the first level of the JSON file that I store a value for (in ...
0
votes
1
answer
273
views
How to implement drag and drop between two CollectionViews in Maui
I am trying to implement drag and drop between two CollectionViews in Maui project.
In my example, I have a collection of Songs in the first CollectionView and a Playlist group in the second ...
0
votes
1
answer
193
views
The CollectionView does not scroll to the desired group by index
Why is it that when I try to navigate to a specific group, I always get sent back to the first group?
If I find a group, and in it the instance I need, and pass it to ScrollTo, then the search works ...
0
votes
1
answer
1k
views
how to implement a .Net Maui CollectionView layout with vertical groups and horizontal items
i am trying to achieve a certain look within an application that shows items in a categorized way.
From what i have learned is that the CollectionView allows us to exactly do this and i have ...
1
vote
0
answers
610
views
.Net Maui: Template reusing in CollectionView
I am developing an App for iOS with .Net MAUI 8.0 and having trouble understanding how the templates in a CollectionView are being re-used (and why).
I am having a Shell-Tab which contains a ...
0
votes
0
answers
235
views
Creating a generic Collection view control including placeholder for dynamically injecting contents in .net MAUI
I am trying to create a Generic Collection view control in MAUI which will have all common event handling/Swipe view and other related functionality in that and the page where it is being used, would ...
0
votes
0
answers
190
views
CollectionView with header don't work on iphone with iOS v. 17.0+ in Xamarin.Forms
I use collectionView with headerTemplate and this work pretty on android and iOS, but when the iOS update was released, iPhones with iOS version v.17+ have an error which consists of strange pauses ...
0
votes
0
answers
119
views
CollectionView has worse performance on Windows than on Android
I have a MAUI application which uses a CollectionView. I run it on Windows and on Android. The performance on Android is perfect. Everything works fine and smooth. I have 105 Elements in the ...
0
votes
1
answer
806
views
Handle scrolling and height with multiple collectionviews on one page in dotNET MAUI
I've got a horizontally oriented (on top) and a vertically oriented (below) CollectionView on the same page. I would like the page to scroll down infinitely but the bottom CollectionView does not ...
0
votes
1
answer
107
views
Why are the Check Boxes in the CollectionView differently sized?
I can't find a solution for an odd behaviour of .NET MAUI.
I'm harnessing a collection view in order to portray a variable number of answers to a question. Every answer is preceded by a check box. ...
0
votes
1
answer
245
views
Correctly set RadioButtonGroup for CollectionView in .NET MAUI
In a .NET MAUI application, I'm using a CollectionView to display a particular ItemTemplate which also includes RadioButtons. However, the mutually exclusive state is not achieved, since somehow the ...
0
votes
1
answer
176
views
the collectionview contains an editor, how to change the text in the ViewModel with changes in the editor #maui
when a user changes the text in the Editor, I need the changes to be displayed in
private MessageModel messagemodel,the same with the button that should add new messages
<CollectionView ItemsSource=...
0
votes
1
answer
1k
views
with .net maui, when creating a CollectionView from a List, how do I access another List to pull details based on ID?
I'm still fairly new to xaml and .net maui but I don't really know what search terms to even use. I want to list today's task notifications in xaml with a collection view. I want this list, when ...
0
votes
1
answer
166
views
List of checkboxes in collectionview taking long time to load
I need to show list of checkboxes to the screen. When I am trying to add it in collection view, it is taking lot time to load.
Below is the Source code. I have add only few items here in Items I do ...
0
votes
0
answers
16
views
Multiple collection views in table view layout issue
I have a single table view and it has a 4 sections. Every sections i registered a different collection view cells. In a table view cell, i'm having trouble setting the constraints of collection views ...
1
vote
0
answers
656
views
How to create Listview with Load more and Pull to refresh in MAUI?
I am new to MAUI. I want to create one list with Load more and Pull to Refresh functionality.
When user reach to end of list, it should provide a loader at bottom and can have callback so we can call ...
1
vote
1
answer
197
views
How to set collectionView sizeForItemAt from Observable RxSwift
I have some issues when trying to make the height of my collection view cells dynamic. The height data is inside my enum Observable<[MovieSection]> array. As far as I know, RxSwift doesn't ...
2
votes
2
answers
702
views
Why is my CollectionView adding duplicate items in .NET MAUI?
Why are the same items added to my CollectionView repeatedly?
Here's what happens exactly:
On every load (on scroll) I want to load 5 more items into my CollectionView, but this is what happens:
The ...
0
votes
1
answer
89
views
Arrange collectionview items in a grid
I'm working on an app where I populate a CollectionView with a list of data from a json file. I'm my main page the data is displayed in a vertical list of hymn titles which navigates to a details page....
2
votes
0
answers
712
views
Ads/Admob in .NET 8 MAUI
I am using .NET 8 MAUI. I have a CollectionView where the user scrolls through a list of posts. I want every 10th post to be an ad. Is there any packages I can use that will show me a different ad ...
0
votes
1
answer
301
views
Images in CollectionView disappear on scrolling
I am currently working on a CollectionView to display a number of images on .NET MAUI. I am not using any third party library to manage image caching. I am able to start a task that eventually takes ...