Open mousewithjetpack opened 10 years ago
This is still happening in API 14 (ICS 4.0).
Is this still relevant with last version ?
Hey, I have not used it in a while now so I've no idea. Maybe the original poster of this issue would know.
I found a fix for that.
you had to add this check in the setCurrentItemShowing function of RadialPickerLayout:
if(anims[0]!=null&&anims[1]!=null&&anims[2]!=null&&anims[3]!=null)
here is the code:
if(anims[0]!=null&&anims[1]!=null&&anims[2]!=null&&anims[3]!=null) {
if (mTransition != null && mTransition.isRunning()) {
mTransition.end();
}
mTransition = new AnimatorSet();
mTransition.playTogether(anims);
mTransition.start();
}else{
int hourAlpha = (index == HOUR_INDEX) ? 1 : 0;
int minuteAlpha = (index == MINUTE_INDEX) ? 1 : 0;
mHourRadialTextsView.setAlpha(hourAlpha);
mHourRadialSelectorView.setAlpha(hourAlpha);
mMinuteRadialTextsView.setAlpha(minuteAlpha);
mMinuteRadialSelectorView.setAlpha(minuteAlpha);
}
it looks like in some device (Android 3.x and 4.0),mMinuteRadialTextsView and mMinuteRadialSelectorView are drawn only after getReappearAnimator() is called. With this check, I fixed it
Hey,
Thanks @Hyperion777 for this fix, I will test it asap
The RadialTimePickerDialog crashes on Android 3.0 when attempting to select a new hour or minute.
Here is the logcat: