What does the code


What does the code do?

private class ScaleListener extends ScaleGestureDetector.SimpleOnScaleGestureListener{

public void onScaleEnd(ScaleGestureDetector detector){

 int spanX = (int) detector.getCurrentSpanX();

 int spanY = (int) detector.getCurrentSpanY();

UpdateLastShape(-1,-1,spanX,spanY,Math.max(spanX, spanY));

super.onScaleEnd(detector);

 }

}

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: What does the code
Reference No:- TGS02803455

Now Priced at $10 (50% Discount)

Recommended (93%)

Rated (4.5/5)