Created
May 30, 2021 23:13
-
-
Save k0siara/db32934968e674cb4281ad9665be3563 to your computer and use it in GitHub Desktop.
GetItemCount.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public int getItemCount() { | |
if (dataset == null) | |
return 0; | |
return dataset.size(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment