Questions tagged [collectionview]

The Marionette CollectionView displays a Backbone collection object by rendering each objects through the specified childView View object.

Docs

1294 questions
5
votes
2 answers

UICollectionViewCompositionalLayout with self sizing cells

I have this basic compositional layout for a view of tags. The cells contain just a label with auto layout constraints. The goal is to auto size the cells both vertically and horizontally to fit the label. With compositional layout I can only get an…
Nico Reese
  • 261
  • 6
  • 14
5
votes
2 answers

Can the groups of a grouped CollectionView be presented horizontally?

I'm implementing a ListBox whose ItemsPanel is a WrapPanel as per this answer, but there's a twist: my ItemsSource is a grouped CollectionView. With a GroupStyle applied to my ListBox, the wrapping shown in that question doesn't work: the groups are…
Dan J
  • 16,319
  • 7
  • 50
  • 82
5
votes
1 answer

retain scroll position for nested collectionView

After the tableView.reloadData() the visible collectionView display the first row unexpected immediately. Im building a tableView contains collectionView in its cells, users can scroll multiple images in every single tableView just like Instagram.…
Zhelei.C
  • 55
  • 6
5
votes
0 answers

TableView inside horizontal scrolling collection view cell

Hello I have a tableview inside horizontal scrolling collection view as shown below. http://recordit.co/pUyTbuOPsn TableView cells get populated properly by tvdatasource but since TableView is embedded in a CollectionViewCell methods such as…
Yoon Kang
  • 61
  • 4
5
votes
3 answers

Enforce collectionView to have only 2 rows

I have to make one collection view so that irrespective of iphone size we have just 2 images in each row and also we need border between each row and column as shown in the image. I want like this:
5
votes
2 answers

How to reload section from collectionview

I tried to delete a cell from collectionview on didSelect method. Deleting the data is working well. But I'm getting this: reason: 'Invalid update: invalid number of sections. The number of sections contained in the collection view after the…
H.jenny
  • 171
  • 1
  • 2
  • 11
5
votes
1 answer

Carousel in controller is messing with sizes in my collection view

I have a UICollectionView on the top of my view and also a ListView, when I click on one item of the ListView it opens a new controller with two (hidden/unhidden) bars at the top and bottom and a WebView in fullscreen with Carousel. I use tap or…
ZetaPR
  • 964
  • 7
  • 32
5
votes
1 answer

How to use a template with Ember.CollectionView

I'm trying to create a CollectionView with a list of items and have it render into the template specified in the CollectionView's templateName property. However, I can't get it to work. it looks like this: App =…
rainbowFish
  • 265
  • 3
  • 13
5
votes
2 answers

Emberjs - Using CollectionView and ItemController together

I have a model Category that has many Documents. When rendering an individual Category I want to list all the the child documents in a drag and drop sortable list. I also want double clicking on any individual document to allow inline editing for…
raytiley
  • 684
  • 2
  • 7
  • 17
5
votes
1 answer

UICollectionView responding while being scrolled?

I have a UICollectionView filled with some cells, and i implemented the method - (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath This works like a charm, but it doesn't work while it is…
Seerex
  • 591
  • 1
  • 9
  • 21
5
votes
3 answers

EnumerableCollectionView to ListCollectionView with DataGrids

I have a DataGrid that I'm trying to implement a CustomSort on. The DataGrid ItemsSource always returns with type of EnumerableCollectionView which is unsortable. I'm trying to convert EnumerableCollectionView to ListCollectionView so that I can…
Jason Higgins
  • 1,516
  • 1
  • 17
  • 37
4
votes
1 answer

CollectionView item not appearing in release mode

zIn .net Maui application I have the following problem: my collection view worked fine in debug mode, but in release mode instead of an image and two labels, the collection view shows only a white rectangle. The onClick function worked…
Alisa
  • 43
  • 3
4
votes
1 answer

iOS 15 Simulator - collection view cells rendering broken when scrolling...?

I'm running my App on latest Xcode 13, running my app on iOS 15 in the simulator creates weird rendering bug / issue, when scrolling table rows (that contain collection views) horizontally. This is only visual. Touch points on cells are all ok, and…
Jules Burt
  • 115
  • 2
  • 7
4
votes
0 answers

How to rotate collection view cell while scrolling

I would like to add and sync the rotation transition effect while scrolling through the collection view, so far I managed to complete the following by resizing, add fading effect & snapping of the collection view cell when it's near to the center of…
4
votes
2 answers

CollectionView disabling scrolling in Xamarin forms

I am trying to disable scrolling in my collection view. The reason why I want to do that is there is a scroll view already in my XAML code. When I try to scroll all page elements on the page, collection view elements are also scrolled themselves but…
Fatikhan Gasimov
  • 903
  • 2
  • 16
  • 40