Hi,
I'm making some modifications to royale-asjs to fix the warnings: "incorrect
type", "comparison between different types", etc, etc.
I have a question about the Spark Grid component because I don't work with
mx/spark and I don't know what the best implementation would be.
The warning occurs in the isCellVisible function [1]:
Warning: GridView used where a Boolean value was expected. The expression will
be type coerced to Boolean.
public function isCellVisible(rowIndex:int = -1, columnIndex:int = -1):Boolean
{
const view:GridView = getGridViewAt(rowIndex, columnIndex);
return view ;//&& view.gridViewLayout.isCellVisible(rowIndex,
columnIndex);
}
[1]
https://github.com/apache/royale-asjs/blob/0d87dd2f3324e793958211cb6877facf62ee213a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/Grid.as#L4185
¿true/false?
Thx.
Hiedra