gobandroid icon indicating copy to clipboard operation
gobandroid copied to clipboard

rotate board in edit mode

Open ligi opened this issue 11 years ago • 9 comments

ligi avatar Jan 23 '15 11:01 ligi

I will try to work on this topic.

icehong avatar Apr 12 '16 14:04 icehong

great! enjoy!

ligi avatar Apr 12 '16 14:04 ligi

Can you assign yourself to the issue?

ligi avatar Apr 12 '16 14:04 ligi

I am very excited that you can add me to this project. This is the first time I was add to an open source project.

I can't assign the issue to me , maybe github rights change need some time.

Can you assign yourself to the issue?

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/ligi/gobandroid/issues/131#issuecomment-208925854

icehong avatar Apr 12 '16 15:04 icehong

Strangely I can only assign an issue to myself

ligi avatar Apr 12 '16 15:04 ligi

Do you have any experience in handle rotate , which way would you prefer? @ligi The second way seems change very little code and easy to implement, but it seems that google does not suggest that .

http://developer.android.com/guide/topics/resources/runtime-changes.html

a. Retain an object during a configuration change
Allow your activity to restart when a configuration changes, but carry a stateful object to the new instance of your activity.

b . Handle the configuration change yourself
Prevent the system from restarting your activity during certain configuration changes, but receive a callback when the configurations do change, so that you can manually update your activity as necessary.

icehong avatar Apr 16 '16 04:04 icehong

I think the simplest solution would be to do a transformation via sgf loading - doing something similar when loading tsumego

ligi avatar Apr 16 '16 10:04 ligi

ah just saw now what you quoted from developer.android - this is a different kind of rotation. What I mean with this enhancement is that you enable to rotate coordinates: A1 -> A9/J1/J9

ligi avatar Apr 16 '16 14:04 ligi

:smile:

icehong avatar Apr 27 '16 13:04 icehong