https://github.com/evant/android-quiznos
Sad about the boring Android 10 naming? This lib give you some options to spice things up.
https://github.com/evant/android-quiznos
Last synced: about 1 year ago
JSON representation
Sad about the boring Android 10 naming? This lib give you some options to spice things up.
- Host: GitHub
- URL: https://github.com/evant/android-quiznos
- Owner: evant
- License: mit
- Created: 2019-08-22T21:14:51.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2020-06-14T22:44:54.000Z (about 6 years ago)
- Last Synced: 2025-04-01T14:45:54.576Z (about 1 year ago)
- Language: Java
- Size: 139 KB
- Stars: 23
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# android-quiznos
Sad about the boring Android 10 naming? This lib give you some options to spice things up.
# Usage
This lib gives you some extra `Build.VERSION_CODES` that you can use, pick whatever Q word you fancy
```kotlin
import me.tatarka.quiznos.Build
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.QUIZNOS) { .. }
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.QUECHE) { .. }
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.QUESITO) { .. }
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.QUEEN_OF_PUDDINGS) { .. }
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.QUEIJADAS) { .. }
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.QOUIGN_AMANN) { .. }
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.QUEBRA_QUEIXO) { .. }
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.QUEIJADINHA) { .. }
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.QUINDIN) { .. }
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.QUEEN_CAKE) { .. }
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.QUINCE_TART) { .. }
```
Are you a fan of the boring naming? We got you covered too!
```kotlin
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ANDROID_10) { .. }
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TEN) { .. }
```