I solved the lack of getNumColumns in V8, in the case where the number of columns is specified in resource, by declaring an integer resource and using that in the GridView resource and code.
2
int cols = getResources().getInteger(R.integer.num_grid_columns);