qalculate-android icon indicating copy to clipboard operation
qalculate-android copied to clipboard

Add multiple function screens

Open ByteHamster opened this issue 3 years ago • 0 comments
trafficstars

Currently, we only have the basic calculator. It would be nice if swiping left and right revealed constants and more advanced functions.

Suggestion on how to do this:

  • Make each individual screen a fragment that is displayed in a ViewPager
  • Pressing a button sends an EventBus event
  • The main fragment registers to the events and adds them to the text box

Doing this with individual fragments and events would decouple function screens and main calculator screen. Maybe that makes it easier to design/show/hide different screens.

ByteHamster avatar Mar 27 '22 21:03 ByteHamster