My application temporarily requires hiding tableview separators. On iPhone I can use the separatorStyle property, but Android I have to adjust the separator color.
For an already created & displayed table, I set the separatorColor to transparent and all of them hide. However, when I set the color back to '#e1e1e1' the separarors are still transparent. I'm not creating a new table, just loading new data (via setData) and changing the separators. The same behavior happens on iOS if I try the color rather than style property.
Any ideas of things to try? All the table rows have unique classNames.
1 Answer
Wouldn't you know it.....spend an hour trying to find the problem, ask the question find the answer a minute later.
I had misspelled separatorColor one time, consequently it wasn't working. Correcting the spelling fixed the issue.
Your Answer
Think you can help? Login to answer this question!