Обложка профиля
Фото профиля
Android Developers
1 020 879 подписчиков -
A place for Android developers everywhere to meet, share and discuss the latest on Android development
A place for Android developers everywhere to meet, share and discuss the latest on Android development

1 020 879 подписчиков
О себе
Записи

К записи прикреплен файл
Delegate your work to another class with `by`. Favor composition over inheritance with class delegation and reuse property accessor logic with delegator properties.

Delegation: https://kotlinlang.org/docs/reference/delegation.html

Delegated properties: http://kotlinlang.org/docs/reference/delegated-properties.html

#31DaysOfKotlin
Фотография
BERJAYA
Добавьте комментарий…

К записи прикреплен файл
Для всех
See you at GDC 2018 next week

Learn more about our GDC activities here → https://events.withgoogle.com/google-gdc-2018/

Google Developer Day kicks off at GDC 2018 next Monday! Attend the keynote and full day of sessions on building a successful game business on Google Play, or join us via the livestream on Monday, March 19th starting at 10:00am PDT. We’ll also have Google sessions during the conference and in our expo booth Wednesday through Friday.
Фотография
BERJAYA
Добавьте комментарий…

К записи прикреплен файл
Для всех
To make the concept of reified concrete an example is in order: `Context.systemService()` in Android KTX uses reified to pass a "real" type via generics. No more passing classes to getSystemService!

https://github.com/android/android-ktx/blob/master/src/main/java/androidx/core/content/Context.kt#L37!

Docs: https://kotlinlang.org/docs/reference/inline-functions.html#reified-type-parameters

#31DaysOfKotlin
Фотография
BERJAYA
Добавьте комментарий…

К записи прикреплен файл
Для всех
Introduction to Wear OS by Google Development

Watch the full video with @hoitab here → goo.gl/zVbRN6

There is a wide variety of options when developing for Wear OS by Google (Formerly known as Android Wear). Apart from cross-platform development through phone notifications and Actions on Google, developers can leverage a wide range of development options - Wear apps, Watch faces and Complication Data Provider. Watch this video to get an introduction on development options open to you as a developer.

For more information, check out:

Complication Data Provider Code Lab → https://goo.gl/JxRyCV
Wear OS By Google Developer Site → https://goo.gl/j5mmqC
BERJAYA
Добавьте комментарий…

К записи прикреплен файл
Improving conversions of your Android apps

Best practices and insights → https://medium.com/googleplaydev/increase-conversions-in-your-android-app-with-a-multidimensional-approach-e9dd5c659528

Getting conversions right is a complex yet highly important topic for Android developers. At Google Play, we’ve found that effective conversion optimization comes from focusing on three pillars: the basics, the organization, and the product. We’ll tackle these in detail to help you find a conversion optimization strategy that works for your business.
BERJAYA
Добавьте комментарий…

К записи прикреплен файл
Для всех
Using Kotlin and Java in the same project? Do you have classes with top-level functions or properties?

By default, the compiler generates the class name as “YourFileKt”. Change it by annotating the file with `@file:JvmName(“...“)`.

Doc: https://kotlinlang.org/docs/reference/java-to-kotlin-interop.html#package-level-functions

#31DaysOfKotlin
Фотография
BERJAYA
Добавьте комментарий…

К записи прикреплен файл
Для всех
Have a hand in the future of Android. Join a Google user experience study and give your feedback.

goo.gl/WqLSmd
Анимированное фото
BERJAYA
Добавьте комментарий…

К записи прикреплен файл
Для всех
Get acquainted with the ExoPlayer API by going on a journey to build an Android video player app that supports playlists, audio focus, and PIP #AndroidDev

Learn more: https://medium.com/@nazmul/building-a-video-player-app-in-android-part-1-5-d95770ef762d
BERJAYA
Добавьте комментарий…

К записи прикреплен файл
Для всех
Can’t wait to use lambdas to make new APIs?

Get in line.

Kotlin lets you specify a function as `inline` - which means calls will be replaced with the function body. Breathe and make lambda-based APIs with zero overhead.

Docs: https://kotlinlang.org/docs/reference/inline-functions.html

#31DaysOfKotlin
Фотография
BERJAYA
Добавьте комментарий…

К записи прикреплен файл
Для всех
Are your function arguments valid? Check before using them, with `require`. If they’re not valid an IllegalArgumentException is thrown.

Doc: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/require.html

Is the state of your enclosing class correct? Use `check` to verify. It will throw an IllegalStateException if the value checked is false.

Doc: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/check.html

#31DaysOfKotlin
Фотография
Фотография
3/13/18
2 фото - Открыть альбом
BERJAYA
Добавьте комментарий…
Дождитесь окончания загрузки