Refactoring some folder binding logic:
> Moving grid calcutation in a separate class > Moving content saving logic to folder instead of relying on item bind Bug: 139051851 Change-Id: I81b226dbebe13652482a767c992e8cc8f4f35a60
This commit is contained in:
1 parent
3cc153813a
commit
11a50747ed
13 files changed
+356
-344
No files matched your search
@@ -2702,6 +2702,14 @@ public class CellLayout extends ViewGroup implements Transposable {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the position to the provided point
|
||||
*/
|
||||
public void setXY(Point point) {
|
||||
cellX = point.x;
|
||||
cellY = point.y;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "(" + this.cellX + ", " + this.cellY + ")";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user