Header doesn't appear
See original GitHub issueHi,
There is an issue with the library when I want to use header. If I don’t put any view above the SortableTableView, the header never appears. Some examples with your sample :
- Remove the toolbar in activity_main.xml
- Replace RelativeLayout by a LinearLayout
I think it’s an issue because we don’t need RelativeLayout everytime. The only workaround I found is using a fakeView above the TableView:
<View
android:id="@+id/fakeView"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?attr/colorPrimary"/>
<fr.fnac.connect.ui.component.SortableProductTableView
android:id="@+id/comparison_table"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/fakeView"
app:columnCount="4"
app:headerColor="?attr/colorPrimary"
app:headerElevation="10"/>
Julien
Issue Analytics
- State:
- Created 8 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Office solution: Word's disappearing header demystified
Last week, we asked why a Word document's header might disappear. Eljensen mentioned that not all views display the header area, which is...
Read more >Solved: Header And Footer Areas Missing In Word Document
Method 2: Using The Pointer. Step 1: Place your pointer onto the line between two pages, and double-click. This will separate the pages...
Read more >SOLVED: Missing Header or Footer In Word - URTech.ca
SOLVED: Missing Header or Footer In Word · Move your pointer to the space between the top of your white page and the...
Read more >Header not showing on following pages in Word 2016
After finally getting a header to have the text and page number just as required, it turned out that no following pages included...
Read more >Header and Footer or Top / Bottom margins are missing in ...
Answer: · In the open document, move the pointer to the top border of any page in the document. · Look for the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @ISchwarz23 , I’m testing it on Nougat and it works now YAY!!!.. Awesome work done by you here, keep up the good work mate… Cheers!!!
For me , getView() is not being hit…I have put breakpoints and they are not being hit. Is this a known issue? And hence, my custom data adapter views (TextView) are not being populated
The custom adapter is as follows
public class CountryTableDataAdapter extends TableDataAdapter<CountryTableCols> {
}