+15

✅[HELP]1️⃣ Kotlin: life cycles and toasts

Hi!!! The help of people who knows Kotlin is very necessary. I just started to study it. Need to do the following: 1) Override the main life cycle methods for the activity (onCreate (), onStart (), onResume (), onPause (), onStop (), onDestroy ()) 2) Upon reaching each method of the life cycle, print its name using Toast. Use Android Studio 3.0.1 Please, help Thank you in advance Здравствуйте!!! Очень нужна помощь людей, которые знают Kotlin. Я только начала его изучать. Необходимо сделать следующее: 1) Переопределить для активности основные методы жизненного цикла (onCreate (), onStart (), onResume (), onPause (), onStop (), onDestroy ()) 2) По достижении каждого метода жизненного цикла напечатайте его имя с помощью Toast. Использую Android Studio 3.0.1 Пожалуйста, помогите. Заранее спасибо)

2/12/2018 4:39:22 PM

Elizaveta Belova

12 Answers

New Answer

+17

If there are questions, I will launch a challenge.🤔 Laik this comment if you support this idea 👍🏽

+15

I already ran on the emulator. It seems that all that was required, I did. Simply, the first time I work in AndroidStudio. And Kotlin is not at all familiar)

+14

Working!!!😁😁😁

+14

I need help again😔 https://www.sololearn.com/Discuss/1071889/?ref=app

+13

MainActivity.kt https://code.sololearn.com/ct9EP87Syd2n/?ref=app

+13

activity_main.xml https://code.sololearn.com/cvIfb9iJlJ2R/?ref=app

+13

@John Wells Of course 😊

+13

In terms of a few more works, which I will write on Kotlin. Perhaps I will need your help.😊

+5

So what you are asking for is someone to test your code with their Android Studio setup?

+5

Do you mind if I use your code to prove it works on mine system. I've only used Java so far.

+3

I am always willing to help. My Android development is just starting and so is my Kotlin. However, I have decades of experience to help me understand things I'm seeing for the first time. We shouldn't have conversations here. Join Discord server or comment on any of my codes to get help.

+3

Good luck.