Set Column Number in List View

We are building a native app where we want the number of columns in a vertical list view to be set to a changing integer variable number instead of the hard set column numbers. It is just for a couple of list views. Let me know if there is a way to do this?  Thanks! 
0 answers