Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

A small improvement on the readability of the code. #16

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

mahmoud-drwsh
Copy link

No description provided.

override fun getItemCount(): Int {
return list.size
}
override fun getItemCount(): Int = list.size

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's possible to improve even more, what do you think about that?

Suggested change
override fun getItemCount(): Int = list.size
override fun getItemCount() = list.size

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants