Releases: evrencoskun/TableView
Releases · evrencoskun/TableView
v0.8.9.4
v0.8.9.2-alpha
will be updated..
v0.8.9-alpha
will be updated..
v0.8.8-alpha
NewFeatures :
- There is a new helper method to set a width value to the desired column position programmatically.
setColumnWidth(int columnPosition, int width)
It also works withsetHasFixedWidth(true)
that means, if you set a constant width value for some columns, others column width values will be calculated as before by TableView. - Performance improvements to provide smoother scroll.
v0.8.7-alpha
NewFeature:
- TableView has a new handler class (
PreferencesHandler
) to retain and restore TableView preferences like the scroll positions and the selected positions. - RowHeader Sorting implementation has been inserted.
- New helper method to set the Row Header width value dynamically.
setRowHeaderWidth(row, width)
- ColumnSortHandler has two new functions;
setEnableAnimation(boolean mEnableAnimation)
: To enable/disable Sort animation (DiffUtils). (enabled by default)boolean isEnableAnimation()
: To check the current state.
- Added
ColumnSortStateChangedListener
implementation to dispatch changes in column sort state to Pagination and update the page contents and the order of the dataset.
BugFix :
v0.8.6-alpha
NewFeature:
- TableView can filter by more than one data.
- Pagination functionality has been inserted into the TableView.
- Sorting implementation for RowHeaders. It allows user to sort from row header (just like we can do with the other columns)
- introduced
RowHeader SortCallback
,SortComparator
,SortHelper
- introduced
AbstrctorSortComparator
, to be able to reuse code inRowHeader
andColum SortComparator
- added an exemple of use in
TableViewAdapter
using the corner view.
- introduced
- Cell long press action has been added in
TableViewListener
- TableView Adapter (AbstractTableAdapter) has a new helper method.
clearSelection()
: To clear selections programmatically.
- SelectionHandler class has a new method.
setShadowEnabled(false)
: Provides an option to disable shadow selection.
v0.8.5.5-alpha
NewFeature:
- With 0.8.5.5 version, hiding and showing any of column is pretty easy for TableView. For that several helper methods have been inserted on TableView.
showColumn(int column)
: To show the columnhideColumn(int column)
: To Hide the columnshowAllHiddenColumns()
: To show all hidden columnsclearHiddenColumnList()
: TableView store a map that contains all hidden columns. This method for the time that is necessary to clear the list.isColumnVisible(int column)
: To check state of column
- TableView Adapter (AbstractTableAdapter) has some helper methods. These are;
List<C> getCellColumnItems(int column)
: To get All Cell items that is located on the column position.removeColumn(int colum)
: To remove all items that is located on the column positionaddColumn(int column, CH columnHeaderItemModel, List<C> cellItems)
: To add new column to the position
v0.8.5.4-alpha
Release notes were accidentally deleted.
v0.8.5.1-alpha
NewFeatures :
- TableView columns can be sorted ascendingly or descendingly. For that, several helper methods have been inserted on TableView. These are;
sortColumn(int p_nColumnPosition, SortState p_eSortState)
SortState getSortingStatus(int column)
- TableView has a new helper method to recalculate the desired column (
remeasureColumnWidth(int column)
). Sample app shows also its usage as well. AbstractViewHolder
has a new selection state. SelectionHandler will be work considering the state as well.- TableAdapter has new helper methods about showing & hiding row. For that several helper methods have been insereted on TableView.
showRow(int row)
hideRow(int row)
showAllHiddenRows()
clearHiddenRowList()
isRowVisible(int row)
TableViewListener
has two new methods. These are Row Header long press action and Column Header long press action. The sample application has a codes to display usage of them using popup menu.AbstractTableAdapter
has some new helper methods to change models easily. These are ;addRow(int p_nYPosition, RH p_jRowHeaderItem, List<C> p_jCellItems)
addRowRange(int p_nYPositionStart, int p_nItemCount, List<RH> p_jRowHeaderItem, List<List<C>> p_jCellItems)
removeRow(int p_nYPosition)
removeRowRange(int p_nYPositionStart, int p_nItemCount)
changeRowHeaderItem(int p_nYPosition, RH p_jRowHeaderModel)
changeRowHeaderItemRange(int p_nYPositionStart, int p_nItemCount, List<RH>p_jRowHeaderModelList)
changeCellItem(int p_nXPosition, int p_nYPosition, C p_jCellModel)
changeColumnHeader(int p_nXPosition, CH p_jColumnHeaderModel)
changeColumnHeaderRange(int p_nXPositionStart, int p_nItemCount, List<CH>p_jColumnHeaderModelList)
v0.8.3-alpha
NewFeatures :
- New boolean value has been inserted to ignore selection color for better performance.
- minSdkVersion of the TableView has been changed with 15 to be able to support above API+15