Questions tagged [collectionview]

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

Docs

1294 questions
-1
votes
2 answers

Adding fade out effect to the collection view

I want to add a fade effect to the top of the collection view as in the photo below. The list in this photo is a feature that exists in the live broadcast of Instagram. I tried CAGradientLayer but didn't get the result I wanted. Thanks in advance…
-1
votes
1 answer

Collectionview specific layout

I am trying to find an approach to get my collectionview to have this layout for the cells with paging The image should always be in center and have parts from left and right if they existed
-1
votes
1 answer

How to Populate CollectionView with Sql Query with combination of Distinct, Sum and Count .... in Xamarin

SQL QUERY SAMPLE using (SQLiteConnection conn = new SQLiteConnection(con.dBasePath)) { SalesRecords.ItemsSource = conn.Query ("SELECT DISTINCT([soldProduct]),…
mosSoft
  • 17
  • 6
-1
votes
1 answer

How to set a XAML Button size inside a CollectionView.Footer?

I have a button within my CollectionView Footer that reaches the ends of the screen horizontally. I want to be able to set the width either to the size of the text, or to a width I pick. Changing HorizontalOptions does nothing. I've been messing…
RonnieG
  • 21
  • 3
-1
votes
2 answers

UI in xamarin for items with variable number of rows

Suppose I have the following classes: class Person { public string Name { get; set; } public IList Expenses { get; set; } public int Total => Expenses.Sum(o => o.Amount); } class Expense { public string ExpenseName { get;…
rettiseert
  • 117
  • 2
  • 4
-1
votes
1 answer

Xamarin Forms multiply CollectionViews Horizontal and Vertical

I try to use a CollectionView in a other CollectionView like this. My problem is there wont display me the second CV like there dont have a source. I guess the BindingContex can be the problem but i dont have a idea how i fix it. …
JdDEV
  • 43
  • 5
-1
votes
2 answers

CollectionView "Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value"

I made a collectionView using storyboard everything works fine the collectionView fetches the data from the firebase as expected. when I tried to make the same collectionView grammatically so I've more control over the layout I got this error:…
Wen
  • 9
  • 6
-1
votes
1 answer

How to change textLabel outside CollectionView when cell is clicked in Swift 4?

can you help me how can I change text in label, which is outside the CollectionView but in the same ViewController, when cell is clicked? I need different text in label with different cell. P.S. I'm new in swift :)
ifF3
  • 31
  • 9
-1
votes
2 answers

Swift reconfigure collectionview cells

so I am trying to change the background color of the collection view cell that is clicked, however, when I call the CollectionView.reloadData() method the backgrounds don't change. I am thinking that reloading the data only checks for adding and…
-1
votes
1 answer

How do you create a footer that exists at the end of CollectionView that has a GridItemsLayout?

I have a CollectionView with a GridItemsLayout with a list of subjects as the ItemsSource. I want the footer to appear at the end of the CollectionView as if it were the last item, but at this time, it simply appears at the vertical end of the…
DaddyProphet
  • 128
  • 2
  • 8
-1
votes
1 answer

How to do horizontally autoscroll for colletionViewCell?

I have a collectionView at the top of my App view and I want to display some ads inside it, I made a ready array for some pictures that I want to display them in the collection view. Now I'm looking for a method that I can make them horizontally…
Let.Simoo
  • 93
  • 9
-1
votes
1 answer

Collection view loading only one cell at a time

Edited I am using custom collection cells to load in collectionview. But when the collection view loadeds expecting behaviour cellforindex delegate will call for 3 indexpath but in this case only calling 0th indexpath 3 time. override func…
Anju
  • 563
  • 2
  • 6
  • 13
-1
votes
1 answer

Segue from selected collection view cell sends to wrong collection view

I am using swift. I'm trying to create a collectionView segue to lead to a new viewController. I have a series of (lets say 8) different images and labels as an array within the collectionView, and the when selected, I want the user to be sent to…
Eddie T
  • 23
  • 4
-1
votes
1 answer

UICollectionView Horizontal Scroll swiping left and right position of cell changes?

Horizontal Scroll in UICollectionView when i scroll left or right the cell not position right ? For each index item i can see the next item coming at the edge and scrolling further more of next cell is coming out to the current index. I want to show…
Vignesh Krish
  • 21
  • 1
  • 7
-1
votes
1 answer

Why is collectionView-cell suddenly bigger?

Using swift-5.0.1, iOS-12.2, I observe a strange behaviour on a UICollectionView: There are screen-wide cells that show an image inside my collectionView. My observation is that whenever the image could not be fetched - in such a case, the above…
iKK
  • 6,394
  • 10
  • 58
  • 131