Skip to content
This repository was archived by the owner on Nov 30, 2021. It is now read-only.

Comments

Homework10#10

Open
AndreiGrek wants to merge 3 commits intomasterfrom
Homework10
Open

Homework10#10
AndreiGrek wants to merge 3 commits intomasterfrom
Homework10

Conversation

@AndreiGrek
Copy link
Owner

No description provided.


override fun onCreate() {
super.onCreate()
Log.d(LOG, "Сработал метод onCreate")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Надо бы убрать бессмыслунный код =)

Comment on lines +45 to +56
val runnable = Runnable {
if (event != null) {
if (loadBooleanStatement()) {
Log.d(LOG, "Записано в External Storage")
writeToExternal(event)
} else if (!loadBooleanStatement()) {
Log.d(LOG, "Записано в Internal Storage")
writeToInternal(event)
}
}
}
Thread(runnable).start()

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

А как ты будешь управлять этим потоком? Не вижу ни ссылки на поток, ни экзекютера.

Comment on lines +81 to +88
override fun getData(): Int {
TODO("Not yet implemented")
}

override fun onDestroy() {
super.onDestroy()
Log.d(LOG, "Сработал метод onDestroy")
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Надо бы убрать бессмыслунный код =)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants