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:
Sunny Goyal committed 2019-08-14 12:03:09 -07:00
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 + ")";
}