showProgressTextAsFraction

fun showProgressTextAsFraction(progressTextAsFraction: Boolean): Boolean

Toggles the Progress TextView's format as Fraction if "true" is passed. Progress TextView's Default format is Percentage format. Can be used only in MODE_DETERMINATE. If hideProgressText was used before, this method will again make Progress TextView visible.

Return

true if Mode is MODE_DETERMINATE and Progress is set. false otherwise and also on Redundant Calls.

Parameters

progressTextAsFraction

The boolean value to change Progress TextView's format.