mgolokhov / dodroid

May the knowledge be with you!
MIT License
20 stars 12 forks source link

Right Counter Allows Same Question to Increment Multiple Times #30

Closed JaeW closed 8 years ago

JaeW commented 8 years ago

You can answer the same question repeatedly - each time it will increment the score.

mgolokhov commented 8 years ago

Yes, the issue is connected to https://github.com/mgolokhov/dodroid/issues/23 All views are recreated by commit button

mgolokhov commented 8 years ago

For submitting a bug use title for short description and you have many labels (bug in our case) on the right sight. screen shot 2015-12-07 at 08 43 28

JaeW commented 8 years ago

Better?

JaeW commented 8 years ago

Ha! Now perfect.

mgolokhov commented 8 years ago

You can increment wrong counter many times, but the right answer should disable commit button

JaeW commented 8 years ago

Would it be possible, instead, to advance the user to the next question if they answer correctly? Seems simpler and more user-friendly.

mgolokhov commented 8 years ago

Sure, all is possible, but sometimes you can guess the right answer. And in this case a user may want to stay a bit (print on the memory). We can do it in settings.

JaeW commented 8 years ago

Like the settings option. I think the visualization of the question automatically sliding to the next one gives the brain the impression of moving forward. . . . . in other words, progressing. Gives a tiny dopamine release (really, really).

JaeW commented 8 years ago

BTW, the RecyclerView has built-in animation, so I believe the slide effect is built-in. Found this about <a href=https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ItemAnimator.html">RecyclerView.ItemAnimator. Hopefully helpful.

JaeW commented 8 years ago

This <a href=https://github.com/gabrielemariotti/RecyclerViewItemAnimators">Item Animation Library is pretty sweet.

mgolokhov commented 8 years ago

I'm pretty sure it's hard to slide all page, seems item animation is used just for items. Even in the Big Nerd Ranch Android book they use ViewPager. My guess, it can be done by implementing custom LayoutManager with lots of code.

JaeW commented 8 years ago

You know what? It's nowhere near essential at this point anyway -- way more important things that need to be done. But I'll do some looking around. If I find a true positive I'll post. If not, forget. :-)

mgolokhov commented 8 years ago

Anyway, RecyclerView beats ListView and animation is a killer feature.

mgolokhov commented 8 years ago

Mmm, a ViewPager implementation based on RecyclerView's code.

JaeW commented 8 years ago

Definitely agree. Am reading this book on material design for programmers (not designers). Google has included some really slick stuff with the new Material Design features. Going to work on those GitHub classes now . . . .

JaeW commented 8 years ago

Sweet animation library! Definitely like.