Android_Me icon indicating copy to clipboard operation
Android_Me copied to clipboard

Creating Intent every time the user selects a body part.

Open galamdring opened this issue 7 years ago • 1 comments

It seems to me that creating the intent each time a body part is clicked is much more expensive than holding onto the selected positions and creating the intent when the user clicks next. This can be accomplished by simply moving the Intent creation logic to the onClick even for the next button.

galamdring avatar Jun 30 '18 19:06 galamdring

I agree, I also moved the Button click listener to OnCreated (with the intent inside) and put it onCreate, that way we are not setting up the listener on each click on an image.

fede118 avatar Apr 26 '19 14:04 fede118