Skip to content
#

kotlin-library

Here are 1,060 public repositories matching this topic...

ktx
czyzby
czyzby commented Mar 3, 2021

Extend existing collection extension methods like isEmpty and isNotEmpty to include contracts that imply whenever the verified collections are not null.

For example:

/**
 * @return true if the array is null or has no elements.
 */
@OptIn(ExperimentalContracts::class)
fun <Type> GdxArray<Type>?.isEmpty(): Boolean {
  contract {
    returns(false) implies (this@isEmpty != nu
cmilousi
cmilousi commented Jan 13, 2021

When I scroll to China and while I am inside China's box, it shows a lot of different numbers of population when there should only be one number referring to China's population.

Screen Recording:
(URL : https://www.dropbox.com/s/bsty0kfhu9l8qrr/20210111_133818~2.mp4?dl=0)
This issue in depicted in the video from 0:09 to the end.

Sorry for the multiple issue creations. At first I wrote this

sheets

Improve this page

Add a description, image, and links to the kotlin-library topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the kotlin-library topic, visit your repo's landing page and select "manage topics."

Learn more