Once that the retentions options is running, if the cellphone is changed to landscape the following error take place:
05-16 23:27:10.843 14532-14532/ar.com.tzulberti.testing E/AndroidRuntime: FATAL EXCEPTION: main
Process: ar.com.tzulberti.testing, PID: 14532
java.lang.IllegalStateException: Fragment RetentionExercise{89f1dd2} not attached to Activity
at android.support.v4.app.Fragment.getResources(Fragment.java:646)
at ar.com.tzulberti.archerytraining.fragments.retentions.RetentionExercise.startRepetition(RetentionExercise.java:168)
at ar.com.tzulberti.archerytraining.fragments.retentions.RetentionExercise.access$200(RetentionExercise.java:20)
at ar.com.tzulberti.archerytraining.fragments.retentions.RetentionExercise$4$1.onFinish(RetentionExercise.java:230)
at android.os.CountDownTimer$1.handleMessage(CountDownTimer.java:127)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6123)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:757)
Once that the retentions options is running, if the cellphone is changed to landscape the following error take place: