Notice: file_put_contents(): Write of 15464 bytes failed with errno=28 No space left on device in /var/www/tgoop/post.php on line 50
Библиотека мобильного разработчика | Android, iOS, Swift, Retrofit, Moshi, Chuck@mobileproglib P.5462
MOBILEPROGLIB Telegram 5462
👾 Кратко о Unit

Тип Unit в Kotlin выполняет ту же функцию, что и void в Java.

Возвращаемый тип можно не указывать, если функция ничего не возвращает. По умолчанию там будет Unit:

fun knockKnock() {
println(«Who’s there?»)
} // то же самое, но с указанным типом Unitfun
knockKnock(): Unit = println(«Who’s there?»)


#kotlin
🔥6😁3



tgoop.com/mobileproglib/5462
Create:
Last Update:

👾 Кратко о Unit

Тип Unit в Kotlin выполняет ту же функцию, что и void в Java.

Возвращаемый тип можно не указывать, если функция ничего не возвращает. По умолчанию там будет Unit:

fun knockKnock() {
println(«Who’s there?»)
} // то же самое, но с указанным типом Unitfun
knockKnock(): Unit = println(«Who’s there?»)


#kotlin

BY Библиотека мобильного разработчика | Android, iOS, Swift, Retrofit, Moshi, Chuck


Share with your friend now:
tgoop.com/mobileproglib/5462

View MORE
Open in Telegram


Telegram News

Date: |

During the meeting with TSE Minister Edson Fachin, Perekopsky also mentioned the TSE channel on the platform as one of the firm's key success stories. Launched as part of the company's commitments to tackle the spread of fake news in Brazil, the verified channel has attracted more than 184,000 members in less than a month. A few years ago, you had to use a special bot to run a poll on Telegram. Now you can easily do that yourself in two clicks. Hit the Menu icon and select “Create Poll.” Write your question and add up to 10 options. Running polls is a powerful strategy for getting feedback from your audience. If you’re considering the possibility of modifying your channel in any way, be sure to ask your subscribers’ opinions first. It’s easy to create a Telegram channel via desktop app or mobile app (for Android and iOS): Unlimited number of subscribers per channel Content is editable within two days of publishing
from us


Telegram Библиотека мобильного разработчика | Android, iOS, Swift, Retrofit, Moshi, Chuck
FROM American