ISchwarz23 / SortableTableView

An Android library containing a simple TableView and an advanced SortableTableView providing a lot of customisation possibilities to fit all needs.
Apache License 2.0
1.05k stars 237 forks source link

where use simpletabledataadapter#setTextsize #193

Open muzamilhaq opened 4 years ago

muzamilhaq commented 4 years ago

tableView.setDataAdapter(new SimpleTableDataAdapter(getContext(),spaceProbes));

i still don't understand where use #settextsize

i try like this

tableView.setDataAdapter(new SimpleTableDataAdapter(getContext(),spaceProbes).setTextSize(10))

still doesn't work;

ISchwarz23 commented 4 years ago

I guess your code doesn't compile. Try this:

SimpleTableDataAdapter adapter = new SimpleTableDataAdapter(getContext(), spaceProbes);
adapter.setTextSize(10);
tableView.setDataAdapter(adapter);
muzamilhaq commented 4 years ago

this work great, can this library make horizontal scroll, i make it textsize 10 but still there coloum show not full text

photo_2020-05-04_13-42-08

in my case text p+... , pre... , des... thats mean P+K+S, predikat, deskripsi

*should i post in new issue? this different

ISchwarz23 commented 4 years ago

To put the TableView inside a horizontal scroll view have a look at issue #14.