Questions tagged [sectionheader]
101 questions
2
votes
1 answer
UITableView Sectionheader loaded from XIB sometimes gets displayed incorrectly
I have created a custom XIB File with a UIView, which I wanted to be displayed in an UITableView as view for header in section. I properly implemented the required delegate methods, as of course:
- (UIView *)tableView:(UITableView *)tableView…

croX
- 1,725
- 1
- 19
- 23
2
votes
0 answers
Subclassing UITableViewHeaderFooterView - semi-transparent background and font
I am trying to subclass and for some reason I'm having three issues.
The first is creating a transparent background.
The Second is changing the textLabels font.
The third is creating a border for the bottom in drawRect: (the green colour is just a…

Adam Carter
- 4,741
- 5
- 42
- 103
2
votes
0 answers
Android Listview's section headers
How to 'Stack the section headers' on top of the list view after scrolling it? I mean, to stack section headers like in Free cell game. Attached is the image for reference. This is how i want to stack all headers on top.
Thanks in advance.

Ningan
- 291
- 2
- 4
2
votes
3 answers
Difference between getPositionForSection and getSectionForPosition
I am implementing ListView with section in which I show custom section headers apart from the conventional alphabets as the header. In order for me to implement the custom SectionIndexer correctly, I wish to understand the difference between the two…

Mahendra Liya
- 12,912
- 14
- 88
- 114
1
vote
3 answers
Getting width of a cell in a grouped UITableView for setting section header width
Header says it all really I just need to get at the cell width of the table so I can set my section header width to be the same + a few pixels. Here is semi pseudo-code for my problem.
CustomHeaderView *headerView = [[CustomHeaderView alloc]…

andrimar
- 13
- 1
- 3
1
vote
1 answer
Strange behavior of in List View click with Section Header
I am having a Custom List view with Section Header.
Note: this is not ordinary list. It's a Section Header.
Custom List is as follows:
Before clicking the like image it looks like Image 1 and after click it should changed like Image 2.
My problem…

Venky
- 11,049
- 5
- 49
- 66
1
vote
0 answers
ListView with header, setItemOnClickListener is not working
I have different layout xml for listview and header.
I have pointed to listview layout file in my fragment page and declare setItemOnClickListener on that listview to get the data display when clicked on its' item.
However, when I clicked the child…

Jin Sheng
- 27
- 1
- 7
1
vote
2 answers
File contains no section headers - Python
I am trying to read a configuration file in python 3.7 using SafeConfigParser. I have tried giving the full file name (with file location), giving only file name (without file location), using readfp function in SafeConfigParser, using only…

user3673471
- 11
- 2
- 3
1
vote
1 answer
How to add section header/footer view when using AsyncDisplayKit?
It seems that currently ASTableNode and ASTableView both lack the support of section header/footer view.
I cannot only find a protocol method:
- (nullable NSString *)tableNode:(ASTableNode *)tableNode…

xi.lin
- 3,326
- 2
- 31
- 57
1
vote
1 answer
UICollectionView Section headers & footers show wrong way - iOS
The problem is:
SupplementaryView has a textLabel on it, but the text appears at a wrong location while header and footer and textLabel just show right.
As you can see in the picture, only the first section header has a title, other header or…

lwiu
- 179
- 1
- 9
1
vote
1 answer
Xamarin.forms | Grouped ListView | Remove Separator line below Group section title/cell | iOS
I am developing a grouped listview in xamarin.forms, I have removed separator lines between listview cell by setting SeparatorVisibility property to None. But white separator line below group section cell still exists. There is no property exposed…

Abid
- 41
- 6
1
vote
1 answer
UICollectionView Section Header view doesn't rotate properly in iOS9
I have an restaurant menu iPad app developed for iOS 7 which uses a collectionView that scrolls horizontally in landscape mode. Menu Section header look like below:
And that's how the xib file looks like for the section header view:
I know it…

Ali
- 4,205
- 4
- 25
- 40
1
vote
0 answers
Set background color of UITableView section header to white and make it opaque
I've tried every solution proposed by the community for the background color problem of tableview section headers so I'm now reaching out for help.
I have custom section headers that float (plain style of the table view) and I'd like each header to…

Rackham Le Rouge
- 57
- 2
- 9
1
vote
3 answers
UITableView with side section header images
The music app on the iPad has quite a lot of interesting custom UI features, one of which is the table view displayed when looking at the albums of a particular artist.
It has images along the side of each section, almost acting in a very similar…

David Liu
- 9,426
- 5
- 40
- 63
1
vote
1 answer
Conditionally hiding cell separators and removing hidden section space Swift
I want cell separators in every single one of my sections other than section 0.
Between "New Game", "Friends", "Random", "Judge", and "Challenges" I don't want any separators. The cell type in section "0" or "New Game" is different than the…

Wesley Cho
- 495
- 8
- 23