Android : How to capture the value of a variable at a particular value when using seekbar

on Monday, October 6, 2014


I am using a seekbar to set the value of a variable to appear in a custom view. The value of the variable is calculated in the custom view class. It is called mEquilibriumPrice; I would like to capture the initial value of that variable but my problem is that whenever I move the seekbar the value of mEquilibriumPrice changes too. I want to compare the initial and final values of this variable but cannot find a way to capture the initial value.


0 comments:

Post a Comment