Skip to content

Fixed crash bugs. - #144

Open
mbuhion wants to merge 1 commit into
karlmorris:masterfrom
mbuhion:master
Open

Fixed crash bugs.#144
mbuhion wants to merge 1 commit into
karlmorris:masterfrom
mbuhion:master

Conversation

@mbuhion

@mbuhion mbuhion commented Feb 18, 2026

Copy link
Copy Markdown

No description provided.

@mbuhion

mbuhion commented Feb 18, 2026

Copy link
Copy Markdown
Author

Changed getCount() to return names.size instead of fixed size of 5.
Made names a MutableList.
Stored an adapter reference outside of with(spinner).
Fixed the deleteButton.setOnClickListener code to not use the position - 1 because that causes a crash when out of bounds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant