Collections.singletonList works on APIs < 26

52 Views Asked by At

According to the official documentation, Collections.singletonList is added on API 26. I have targetSdkVersion 25 and minSdkVersion 19 and my app still compiles and runs perfectly on emulators/devices below 26 when I use this method. How is this possible ?

0

There are 0 best solutions below