The Marionette CollectionView displays a Backbone collection object by rendering each objects through the specified childView View object.
Questions tagged [collectionview]
1294 questions
7
votes
1 answer
iOS collectionView.sizeForItemAtIndexPath Breaks On Anything Before iPhone 6
I am brand new to iOS development and I am trying to port a project I have on Android to iOS. I am trying to construct a collectionView in code as part of the implementation. The thing is as the data in each cell in the collection view can be…

Jon Farmer
- 326
- 1
- 6
- 16
6
votes
2 answers
How to get real count of a CollectionView, when Filter is in use?
When I have a on my View to bind to a property on the ViewModel.
On the viewmodel I have the property defined as
public int ItemCount
{
get { RowViewModelsCollectionView.Count; }
}
I am clearly asking for…

Houman
- 64,245
- 87
- 278
- 460
6
votes
2 answers
Paged Collection View in WPF
Is there an implementation of PagedCollectionView in WPF around? It exists in Silverlight but isn't in WPF.
If there isn't, what would be the simplest way to implement this?

Phaded
- 99
- 1
- 1
- 6
6
votes
3 answers
Xamarin CollectionView slow scrolling
I have a collection view that shows chat messages, it has 10 possible data templates. Each data template contains a flexlayout(because I need to horizontally align it at left or right, like chat bubbles) and inside these flexlayouts, we have a…

Éder Rocha
- 1,538
- 11
- 29
6
votes
6 answers
Swift: Please specify a valid section definition when content is to be rendered for a section. This is a client error
I'm currently working on a simple IOS app using a collection view and diffable datasource.
I initalize the everything in the view controller's config and call a reloadView-function every time I update the source data.
The app crashes with the…

Schurigeln
- 189
- 1
- 7
6
votes
1 answer
Prevent UICollectionView from animating during view.layoutIfNeeded
I am building a page in my app that is very similar to the messages app. This page has a toolbar at the top, a collection view directly under that, and a view under the collection view that contains a text field for sending a message.
The…

Justin Waite
- 835
- 2
- 8
- 16
6
votes
0 answers
UICollectionView cells flashing/blinking briefly after animating collectionView position
I have a UICollectionView which is pinned to Top Layout Guide (I use NavigationController so it's pinned to the Navigation Bar) and aligned to the bottom of an image which it overlays.
I am hiding the Navigation Bar and animating the Image position,…

Daniel Kappacher
- 472
- 1
- 6
- 15
6
votes
3 answers
How can I make a particular cell of an iOS collectionView fade out as the collectionView scrolls?
I want to make all the right side cells of my UICollectionView fade out as they scroll similar to Apple's messages app but not effect the color or transparency of the other cells in the collectionView. Is there a way to adjust the transparency of a…

alionthego
- 8,508
- 9
- 52
- 125
6
votes
6 answers
UICollectionView: Show label "No item" in the section that don't have any item
I have a UICollectionView with 5 sections, some sections have data and some sections (in my code it is section 2) doesn't have (it depend on sever)
Therefore, I want to display a label ("No item") in the selection that doesn't data.
However, I can…

Linh
- 57,942
- 23
- 262
- 279
6
votes
2 answers
UICollectionView cell size in AutoLayout
So I'm using UICollectionView under AutoLayout-enabled storyboard.
I'm trying to set cell size based on collectionView itself and it's based on [collectionView: layout: sizeForItemAtIndexPath:] method.
collectionView also depends on auto layout and…

Pei
- 11,452
- 5
- 41
- 45
6
votes
4 answers
Highlight cells in CollectionView
I'm building an app in iOS and I want the Cells in my CollectionView to highlight when touched, pretty much like the normal buttons. How can I achieve this in the didSelectItemAtIndexPath:(NSIndexPath *)indexPath method?

diogo.appDev
- 1,595
- 5
- 16
- 30
6
votes
1 answer
cellForItemAtIndexPath: is not called when using custom UICollectionViewLayout subclass
When using my custom UICollectionViewLayout subclass, cellForItemAtIndexPath: is not called (I checked using breakpoints and debug output). This is how i use the custom layout:
- (void)viewDidLoad
{
[super viewDidLoad];
…

flather
- 165
- 1
- 8
5
votes
1 answer
MAUI does not show, until manually change the text
I have this code in my collectionView:
…

Alex
- 157
- 8
5
votes
1 answer
Xamarin Forms - Drag and Drop in CollectionView (Renderer)
How to implement a Simple Drag and Drop feature in a CollectionView in Xamarin Forms ?
Without using any 3rd party NUGET package. Below code is of a simple collectionview but now i need to render it... How do i render and implement drag and drop in…

MainakChoudhury
- 502
- 1
- 7
- 23
5
votes
1 answer
How can I bind an observable collection to a flexlayout in xamarin?
I need to bind an ObservableCollection view to a FlexLayout (because I need
a custom appearance). When I bind the items to the CollectionView they don't
have same look that I get when I use grid directly inside FlexLayout, for
example:
This works as…

Sandro Benevides
- 581
- 2
- 14