App: Minor changes
This commit is contained in:
+7
-5
@@ -79,7 +79,7 @@ public class DashboardFragment extends Fragment {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
// on below line we are getting text from edit text
|
||||
String item = Integer.toString(autoList.size() + 1) + ": Links";
|
||||
String item = "Links";
|
||||
|
||||
// on below line we are checking if item is not empty
|
||||
if (!item.isEmpty()) {
|
||||
@@ -99,7 +99,7 @@ public class DashboardFragment extends Fragment {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
// on below line we are getting text from edit text
|
||||
String item = Integer.toString(autoList.size() + 1) + ": Rechts";
|
||||
String item = "Rechts";
|
||||
|
||||
// on below line we are checking if item is not empty
|
||||
if (!item.isEmpty()) {
|
||||
@@ -132,9 +132,11 @@ public class DashboardFragment extends Fragment {
|
||||
|
||||
public String listToString(ArrayList<String> list){
|
||||
String result = "";
|
||||
for (String s : list) {
|
||||
result += s + ";";
|
||||
}
|
||||
//if(!list.size().isEmptry()) {
|
||||
for (String s : list) {
|
||||
result += s + ";";
|
||||
}
|
||||
//}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
android:id="@+id/automaticList"
|
||||
android:layout_width="413dp"
|
||||
android:layout_height="470dp"
|
||||
android:layout_marginTop="124dp"
|
||||
android:layout_marginTop="110dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/startAutomatic" />
|
||||
|
||||
Reference in New Issue
Block a user