N
N
Nikolay2015-07-09 00:11:00
Android
Nikolay, 2015-07-09 00:11:00

Is it possible to represent the shapes drawn in the surfaceView as objects, and attach an event handler to them?

Is it possible to make a lot of shapes (let's say squares) in a SurfaceView as buttons in an activity, where the object's attributes will set their location, click handlers, etc.?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg Gamega, 2015-07-09
@gadfi

if you are writing a game, you have chosen the wrong tool, SurfaceView is not designed for this.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question