Skip to content

Releases: zhaozilong1988/UITableViewForUnity

Hotfix: #21 #24

22 Sep 14:45
f8ba68f
Compare
Choose a tag to compare

New Features: Add NestedScrollRect for implementing Netflix-like list

22 Sep 04:08
c2d7030
Compare
Choose a tag to compare

Added NestedScrollRect.cs for implementing a Netflix-like interface, which scrollrect that be able to scroll up and down, but also be able to scroll rows of buttons left and right, which a nested scrollrect in it.

Selected Use Nested Scroll Rect in Editor
Screenshot 2024-09-22 at 13 00 45

Screen Recording 2024-09-21 at 13 15 40

New: IUITableViewFlickable/IUITableViewMagneticAlignment, Improvement:IUITableViewDraggable

09 Dec 15:14
0930608
Compare
Choose a tag to compare

New: IUITableViewFlickable : For detecting flick
New: IUITableViewMagneticAlignment : For snapping scroll
Imporvement: IUITableViewDraggable

Hotfix: Pass cellIndex NOT rowIndex to LengthForCellInTableView in IUIGridViewDataSource

29 Nov 12:14
e43012b
Compare
Choose a tag to compare

・Fixed: Pass cellIndex NOT rowIndex to LengthForCellInTableView in IUIGridViewDataSource

Backward compatible with c# 7.3 for who using Unity 2018/2019

23 Nov 00:15
ba2b207
Compare
Choose a tag to compare

・New: Add BottomToTop and LeftToRight to UITableViewDirection #15
・Fixed: When a non-central value is set as the anchor for the cell, the position calculation becomes inaccurate. #5
・Fixed: ReloadCells maybe called twice.
・Other: Change Script Runtime Version to .NET 4.6 equivalent if using Unity 2018/2019

Fixed:ReloadCells maybe called twice. / UITableViewCellAlignment.Center not works in grid.

18 Nov 14:08
5e841d6
Compare
Choose a tag to compare

・Fixed:ReloadCells maybe called twice.
・Fixed:UITableViewCellAlignment.Center not works when using AlignmentOfCellsAtLastRow() in grid.

New Features : Add BottomToTop and LeftToRight to UITableViewDirection

14 Nov 15:06
3c5487c
Compare
Choose a tag to compare

・New: Add BottomToTop and LeftToRight to UITableViewDirection #15
・Fixed: When a non-central value is set as the anchor for the cell, the position calculation becomes inaccurate. #5

New Features : Now you can put different number of columns into different rows

19 Oct 23:03
d4677dc
Compare
Choose a tag to compare
  • Remove RectangleF related methods for resolving compile error of .Net4.x #12
  • Now u can put different number of columns into different rows, and rename some methods #13

New Features : IUITableViewClickable and IUITableViewDraggable

15 Aug 20:58
Compare
Choose a tag to compare

This will be convenient if you want to drag or click on the UITableViewCell. Less code and without any callbacks.

Like this:https://github.com/zhaozilong1988/UITableViewForUnity/blob/master/sample_grid_drag.gif

v1.1 Add some convenience methods

28 May 01:20
1934d81
Compare
Choose a tag to compare

The methods below are added.

public T ReuseOrCreateCell(string reuseIdentifier, T prefab, UITableViewCellLifeCycle lifeCycle = UITableViewCellLifeCycle.RecycleWhenDisappeared, bool isAutoResize = true) where T : UITableViewCell

With this method, you can create multiple different prefabs with only one UITableViewCell class by use your own reuse identifier.

public bool TryGetLoadedCell(int index, out T result) where T : UITableViewCell

Use this method instead if you want to avoid exceptions of the method below.
public T GetLoadedCell(int index) where T : UITableViewCell

public IEnumerable GetAllLoadedCells(Func<int, bool> condition) where T : UITableViewCell

Return all appearing cells and those whose UITableViewCellLifeCycle is set to RecycleWhenReloaded where condition returns true.