https://kotlinlang.org logo
Title
j

jurajsolarml

12/18/2018, 1:53 PM
Hello,please solve the problems.Registration does not work where can be an error ? /Kotlin/ Thanks https://hastebin.com/punafomaze.cpp
t

Timmy

12/18/2018, 9:21 PM
Please when asking questions give as much context as possible. What are you expecting to happen? What is happening instead? Are any exceptions thrown and if so what are they? Are you following any specific guide that could give more context? What have you already found out while debugging? Also I think #getting-started or #android might be better suited for this question (Someone correct me if there is a better place)
That said, regarding your code there are several weird things: - Validation is done in the onCreate method before any user input. It also short circuits before the progress bar is shown (might be intentional) - The on Click Listener is nested and registers the next listener after the first click - The useless when clause - No longer indication as to what should happen when validation is successful (where is the call to the actual registration?)
j

jurajsolarml

12/19/2018, 9:07 AM
ok,thanks