Skip to content

Commit

Permalink
Merge pull request #18 from imflyn/patch-1
Browse files Browse the repository at this point in the history
Fixed typo bug !
  • Loading branch information
adnan-SM committed Jan 19, 2015
2 parents ee681c0 + 2951aa0 commit 46a0f49
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ protected void onCreate(Bundle savedInstanceState) {
@Override
public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
from = position - 1;
if(to != NO_VALUE && to != NO_VALUE) {
if(from != NO_VALUE && to != NO_VALUE) {
objectAnimator = timelyView.animate(from, to);
objectAnimator.setDuration(DURATION);
} else {
Expand Down

0 comments on commit 46a0f49

Please sign in to comment.