From b54f9a9a467ee799d4d5edf229a9ac9046e6fa57 Mon Sep 17 00:00:00 2001 From: Shaaf Babar Date: Fri, 25 Oct 2024 14:29:58 -0600 Subject: [PATCH] test --- app/src/main/java/com/example/lab8/CustomList.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/main/java/com/example/lab8/CustomList.java b/app/src/main/java/com/example/lab8/CustomList.java index 30ea30f32..7e12da04f 100644 --- a/app/src/main/java/com/example/lab8/CustomList.java +++ b/app/src/main/java/com/example/lab8/CustomList.java @@ -63,4 +63,8 @@ public void deleteCity(City city) { cities.remove(city); } + public int countCities() { + return cities.size(); + } + }