Skip to content

Divy-21/lab-02

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMPUT 301 : Lab 2 Participation Exercise

Student Details

  • Full Name: Divy Vaghasiya
  • CCID: vaghasiy

Adding and Deleting cities

  • Adding: To add a city click the ADD CITY button and type the city name and click CONFIRM button. To exit without adding press CANCEL button.
  • Deleting: To delete a city click on a city (selected city will be highlighted) then click the DELETE button.

References and Resources

List any resources used here, or simply put N/A if not applicable.

Link Usage
https://developer.android.com/reference/android/widget/AdapterView.OnItemClickListener To get the item clicked from list
https://developer.android.com/reference/android/graphics/Color Set color of the background of the item clicked
https://www.geeksforgeeks.org/android/handling-click-events-button-android-java/ Tutorial on using onClick Listeners
https://developer.android.com/develop/ui/views/components/button Adding buttons
https://www.delasign.com/blog/android-studio-custom-color/ Using colors

Verbal Collaboration

Student Name CCID
student student
<Add more> <CCID>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%