/** * Grabs newest data from Calculator, updates the main display * * @param updateResult whether or not to update result */ public void updateScreen(boolean updateResult) { //no instant scroll for previous expression updateScreen(updateResult, false); //see if colored convert button should be not colored (if backspace or //clear were pressed, or if expression solved) if (!mCalc.isUnitSelected() && mUnitTypeViewPager != null) clearUnitSelection(mUnitTypeViewPager.getCurrentItem()); }