Русские видео

Сейчас в тренде

Иностранные видео


Скачать с ютуб Android App: Dynamic Grid of Buttons -- toward a game of Memory (Concentration) в хорошем качестве

Android App: Dynamic Grid of Buttons -- toward a game of Memory (Concentration) 3 года назад


Если кнопки скачивания не загрузились НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу страницы.
Спасибо за использование сервиса ClipSaver.ru



Android App: Dynamic Grid of Buttons -- toward a game of Memory (Concentration)

In this video we look at an Android App that generates a dynamic grid of Buttons. There is a linear layout with a vertical orientation "in design" (in the XML layout). Then additional linear layout with a horizontal orientation were added to the vertical linear layout. And then buttons were added to the horizontal linear layouts. The dynamic buttons were assigned a button-click handler defined after the onCreate method. The idea in mind was the start of a game of Memory/Concentration in which a player turns over two cards and if their "faces" match they remain turned over, otherwise they are returned to their previous state. To this end we declared two buttons with the "lateinit" term so they could be declared at the class level but initialized based on the click event.

Comments