我正在尝试将以下 Objective-c 方法转换为 C#,但我遇到了麻烦。
- (void)collectionView:(UICollectionView *)collectionView moveItemAtIndexPath:(NSIndexPath *)fromIndexPath toIndexPath:(NSIndexPath *)toIndexPath;
它是否正确?
public void moveItemAtIndexPath(UICollectionView collectionView, NSIndexPathToIndexPath, NSIndexPath FromIndexPath)