Package org.robovm.apple.uikit
Class UITableViewDiffableDataSource<SectionIdentifierType extends NSObject,ItemIdentifierType extends NSObject>
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.uikit.UITableViewDiffableDataSource<SectionIdentifierType,ItemIdentifierType>
- All Implemented Interfaces:
NSObjectProtocol,UITableViewDataSource,ObjCProtocol
public class UITableViewDiffableDataSource<SectionIdentifierType extends NSObject,ItemIdentifierType extends NSObject> extends NSObject implements UITableViewDataSource
- Since:
- Available in iOS 13.0 and later.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUITableViewDiffableDataSource.UITableViewDiffableDataSourcePtr<SectionIdentifierType extends NSObject,ItemIdentifierType extends NSObject>Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAINFields inherited from class org.robovm.objc.ObjCObject
customClass -
Constructor Summary
Constructors Modifier Constructor Description protectedUITableViewDiffableDataSource()protectedUITableViewDiffableDataSource(NSObject.Handle h, long handle)protectedUITableViewDiffableDataSource(NSObject.SkipInit skipInit)UITableViewDiffableDataSource(UITableView tableView, Block3<UITableView,NSIndexPath,NSObject,UITableViewCell> cellProvider) -
Method Summary
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRefMethods inherited from class org.robovm.rt.bro.NativeObject
as, getHandle, setHandle
-
Constructor Details
-
UITableViewDiffableDataSource
protected UITableViewDiffableDataSource() -
UITableViewDiffableDataSource
-
UITableViewDiffableDataSource
-
UITableViewDiffableDataSource
public UITableViewDiffableDataSource(UITableView tableView, Block3<UITableView,NSIndexPath,NSObject,UITableViewCell> cellProvider)
-
-
Method Details
-
getDefaultRowAnimation
-
setDefaultRowAnimation
-
init
protected long init(UITableView tableView, Block3<UITableView,NSIndexPath,NSObject,UITableViewCell> cellProvider) -
snapshot
-
applySnapshot
public void applySnapshot(NSDiffableDataSourceSnapshot<SectionIdentifierType,ItemIdentifierType> snapshot, boolean animatingDifferences) -
applySnapshot
public void applySnapshot(NSDiffableDataSourceSnapshot<SectionIdentifierType,ItemIdentifierType> snapshot, boolean animatingDifferences, Runnable completion) -
applySnapshotUsingReloadData
public void applySnapshotUsingReloadData(NSDiffableDataSourceSnapshot<SectionIdentifierType,ItemIdentifierType> snapshot)- Since:
- Available in iOS 15.0 and later.
-
applySnapshot
public void applySnapshot(NSDiffableDataSourceSnapshot<SectionIdentifierType,ItemIdentifierType> snapshot, Runnable completion)- Since:
- Available in iOS 15.0 and later.
-
sectionIdentifierForIndex
- Since:
- Available in iOS 15.0 and later.
-
indexForSectionIdentifier
- Since:
- Available in iOS 15.0 and later.
-
itemIdentifierForIndexPath
-
indexPathForItemIdentifier
-
getNumberOfRowsInSection
- Specified by:
getNumberOfRowsInSectionin interfaceUITableViewDataSource
-
getCellForRow
- Specified by:
getCellForRowin interfaceUITableViewDataSource
-
getNumberOfSections
- Specified by:
getNumberOfSectionsin interfaceUITableViewDataSource
-
getTitleForHeader
- Specified by:
getTitleForHeaderin interfaceUITableViewDataSource
-
canEditRow
- Specified by:
canEditRowin interfaceUITableViewDataSource
-
canMoveRow
- Specified by:
canMoveRowin interfaceUITableViewDataSource
-
getSectionIndexTitles
- Specified by:
getSectionIndexTitlesin interfaceUITableViewDataSource
-
getSectionForSectionIndexTitle
- Specified by:
getSectionForSectionIndexTitlein interfaceUITableViewDataSource
-
commitEditingStyleForRow
public void commitEditingStyleForRow(UITableView tableView, UITableViewCellEditingStyle editingStyle, NSIndexPath indexPath)- Specified by:
commitEditingStyleForRowin interfaceUITableViewDataSource
-
moveRow
public void moveRow(UITableView tableView, NSIndexPath sourceIndexPath, NSIndexPath destinationIndexPath)- Specified by:
moveRowin interfaceUITableViewDataSource
-