fun main(args: Array<String>) {
val minhaTarefa = Tarefa("Daniel", "Programação", 10, "30 de Setembro")
minhaTarefa.entregar()
}
class TarefaDeCasa(
var nomeDoAluno: String,
var nomeDaMateria: String,
var nota: In...
I'm starting in the mobile development that will be done in Java or Kotlin and my question is what tools can I use in both the design part and in the database what are the main technologies?
I created this layout so I could work with this alertdialog. I created it, because I have to save the states after the click and also, when I open the dialog, I can get the value that was previously marked. Search through preferences.
But eve...
I was seeing the generics part and would like to know why
fun <T> addToList(vararg arg : T): ArrayList<T> {
and
fun addToList(vararg arg : T): ArrayList<T> {
I'm using Gson to work with json, let's say it has this class
class Track(
@SerializedName("id") val id: Long,
@SerializedName("name") val name: String,
@SerializedName("modality") val modality: String,
@SerializedName("paper")...
Problem:
Authenticate user using H2 database in Spring Security
Context:
The application is done using Spring, the user class is this
@Entity
data class Usuario(
@NotEmpty
var nome:String = "",
@NotEmpty
var...
When I try to run my app on my phone (the same thing happens in the emulator), the following error occurs:
Error:FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformClassesWithInstantRunForDeb...
How to bring this list from fire to the screen of cel?
val store = Shop("Fique Linda", "Temos o melhor!", R.drawable.storefiquelinda)
val dataBase = FirebaseDatabase.getInstance()
val myRef = dataBase.getReference("mensagens")
myRef.child("...
I have an interface called UserManager which has a var of type User
interface UserManager {
var user:User
/* ... */
}
and a class named UserManagerImpl that implements UserManager
class UserManagerI...
I am trying to register values in the database in Kotlin
coming from SeekBar, DatePicker, Radio Group, I go by parts
in my CadastroScrolling.kt
I can play the age viewer
// definindo SeekBar
seekbarIdade = findViewById<SeekBar...