Skip to content

Commit

Permalink
MyStatsActivity : 기록 7개 이상 오류 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
kohseongyeon committed Mar 13, 2021
1 parent c682d22 commit 2833709
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ protected void onCreate(Bundle savedInstanceState) {
lineChartValues.add(new Entry(i, var));
i++;
Log.d("wasteRecordsNum", i+"");
if(i==7)
break;
}

LineDataSet lineDataSet;
Expand Down
2 changes: 1 addition & 1 deletion AmongEarth/app/src/main/res/layout/activity_stats.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="My Waste Statistics"
android:text="My Waste Graph"
android:textStyle="bold"
android:textSize="20sp"
android:textColor="@color/Black"
Expand Down

0 comments on commit 2833709

Please sign in to comment.