An open API service indexing awesome lists of open source software.

https://github.com/leticiafarias/sorteador

The developed application is a simple draw that allows the user to draw a random number from 0 to 100 with the touch of a button.
https://github.com/leticiafarias/sorteador

android android-application android-jetpack kotlin

Last synced: about 2 months ago
JSON representation

The developed application is a simple draw that allows the user to draw a random number from 0 to 100 with the touch of a button.

Awesome Lists containing this project

README

          

Sorteador


Github top language
Github language count
Repository size
License
Github stars


About   |  
Features   |  
Technologies   |  
Code   |  
Future Features   |  
License   |  
Author


Sorteador


## :dart: About

The developed application is a simple draw that allows the user to draw a random number from 0 to 100 with the touch of a button.

## :sparkles: Features

:heavy_check_mark: Draw a random number between 1 and 100;\
:heavy_check_mark: Show on screen the randomly drawn number in the range from 1 to 100;\
:heavy_check_mark: Change the state of the text by clicking on the raffle button.

## :rocket: Technologies

The following tools were used in this project:

- [Kotlin](https://kotlinlang.org/)
- [Android Jetpack](https://developer.android.com/jetpack)
- [Android Studio](https://developer.android.com/studio)

## :pushpin: Code

```kotlin
fun sortear(view: View){
var resultado: TextView = findViewById(R.id.numeroResultado)
var numero: Int = (1..100).random()

resultado.setText("O número sorteado é: $numero")
}
```

## :construction: Future Features
:round_pushpin: Implement a button to reset the drawn number;\
:round_pushpin: Allow the user to choose the range of numbers that will be drawn;\
:round_pushpin: Dark theme for application.

## :memo: License

This project is under license from Apache 2.0. For more details, see the [LICENSE](LICENSE.md) file.

Made with :heart: by Letícia Farias

 

Back to top