Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jiahongfei committed Jun 25, 2017
1 parent b5eac50 commit 5a5ceca
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@

使用代码非常简单
```
private static String TAG = "MainActivity";
public class MainActivity extends AppCompatActivity {
private static String TAG = "MainActivity";
//循环取当前时刻的步数中间的间隔时间
private long TIME_INTERVAL_REFRESH = 500;
Expand Down Expand Up @@ -97,4 +99,5 @@ private static String TAG = "MainActivity";
TextView stepTextView = (TextView)findViewById(R.id.stepTextView);
stepTextView.setText(mStepSum + "步");
}
}
```

0 comments on commit 5a5ceca

Please sign in to comment.