Questions tagged [collectionview]

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

Docs

1294 questions
0
votes
1 answer

Edit collectionViewCell

I'm trying to change a specific CollectionViewCell once it's tapped on. I created a custom cell: projectCell.h: #import @interface ProjectCell : UICollectionViewCell @property (weak, nonatomic) IBOutlet UILabel…
0
votes
3 answers

Marionette.js Rendering Multiple ItemViews With Different Models + Templates In A CollectionView

I am trying to wrap my head around how to render multiple ItemViews, each with a distinct model and template, in a CollectionView. The Marionette.js docs specify that a CollectionView supports a single ItemView. Am I wrong in making this assumption…
Chris
  • 469
  • 12
  • 25
0
votes
1 answer

Set images to the cells used NSArray from urls, but it doesn't work

i have try to create a simple photo browser, and i used UICollectionView, when i try to insert them thumb images to the cell, it does't work,it has a thread, but i can't fixed it,please help me, thank you very very much. here is my code: -…
0
votes
1 answer

Objective c - Reload collection view async

I have a collection view with many pictures from Facebook. It takes alot of time for the collection to load & show the pictures. How can I show the pictures one by one without waiting for the end of the process? This is my…
Asi Givati
  • 1,348
  • 1
  • 15
  • 31
0
votes
1 answer

How to create a certain number of buttons in a collection view based on days of the month

Ok, I am trying to make a simple calendar application for a school project. What I want is to have my CollectionView to be in the layout of a month view calendar. However, I want to create buttons for each day of the given month. So in January, I…
0
votes
2 answers

when I click button in collection view, i I can't pass value to next view controller

I had encounter a question. I used collection view set more button. I need click button and passs index value to "NextViewController". But when I click the button. It is show below error message. I try to find where's error. But I can't find. Have…
dickfala
  • 3,246
  • 3
  • 31
  • 52
0
votes
1 answer

Dynamically expanding CollectionView : Height of the CollectionView itself (not the items) changing when adding new items

I'm trying to build a calendar in which I need to insert different lists for each day. I figured the collection view under each label of a number in the month would be the best and it works so far. I only have a problem with adding new items to the…
0
votes
2 answers

NSCache with hundreds of images

I got a collectionView which displays 9 images (200x300px) at a time. The total number can go up to hundreds, though. Currently I check in cellForItem if an Image is in the cache. If not, I'll load it from the file system and put it in the…
1b0t
  • 432
  • 1
  • 5
  • 11
0
votes
2 answers

UICollectionView overflows at startup

When I start the application, the view looks like this. The CollectionView basically overflows from the bottom, meaning that part of it can not be seen even if I scroll down. However, as soon as I rotate the device to left and then back to right…
Wokki
  • 157
  • 2
  • 18
0
votes
0 answers

CollectionView location changes when changing device orientation and back

I'm having issues with the constraints in CollectionView. The view looks perfect at first, but when it is rotated to landscape and then rotated back to portrait, the location changes. Here is how it looks at first and how it is supposed to look…
Wokki
  • 157
  • 2
  • 18
0
votes
2 answers

Adding link to CollectionView cell based on image name

I have a CollectionView with UIImageView's in them and the images are defined in listImages array. I am trying to get it so that when you click on a specified image, you will get redirected to a website with more information about that. However, I…
Wokki
  • 157
  • 2
  • 18
0
votes
3 answers

ICollectionView not update in UI

I am using ICollectionView to bind wpfdatagrid.ICollectionView source is observable collection. i update the observable collection 5 seconds once. but the collection is modified, but it is not updating to DataGrid. public ICollectionView…
Ram Nivas
  • 142
  • 3
  • 13
0
votes
1 answer

Asynchronously call CollectionView.MoveCurrentToFirst?

Asynchronously call CollectionView.MoveCurrentToFirst?
Shimmy Weitzhandler
  • 101,809
  • 122
  • 424
  • 632
0
votes
0 answers

Different behavior of contentSize with iPad and iPhone

I have a strange behavior of contentSize property. I scroll a list of image in a collectionView until the contentOffset of my collectionView is equal to the contentSize of the collectionView minus the width of last…
user1593386
  • 51
  • 1
  • 6
0
votes
1 answer

display selected thumbnail for initial subview in a scrollview

Trying to get the selected image from an array of images in a collection view to be the initial subview in a scrollview. Right now the scrollView loads the first image from the array, no matter which image is tapped on in the collection view. Please…
Jared Gross
  • 649
  • 3
  • 9
  • 23