サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
Pixel 9
antonioleiva.com
Kotlin Android Extensions: Say goodbye to findViewById (KAD 04) Warning! Kotlin Android Extensions are deprecated, you should start using View Binding. If you’ve been developing Android Apps for some time, you’re probably already tired of working with findViewById in your day-to-day life to recover views. Or maybe you gave up and started using the famous Butterknife library. If that’s your case, t
Virtually everyone who wants to create code on Android in a decoupled and easy-to-test way, resorts to Dagger sooner or later. Although there is something that works a bit differently when setting up Dagger in Kotlin, most of it is quite simple, and in a few steps I’m going to show you here today. Also be aware that, thanks to the power of Kotlin, there are other ways to solve the injection, and e
What do 17 Google Developers Experts for Android think about Kotlin? [et_pb_section bb_built=”1″ admin_label=”section” transparent_background=”off” allow_player_pause=”off” inner_shadow=”off” parallax=”off” parallax_method=”on” make_fullwidth=”off” use_custom_width=”off” width_unit=”off” custom_width_px=”1080px” custom_width_percent=”80%” make_equal=”off” use_custom_gutter=”off” fullwidth=”off” sp
Today a mate asked me how he could do an OnGlobalLayoutListener properly without incurring in the need of too much boilerplate. This was a tricky question because of a couple of things, let’s see it a little more deeply. What is OnGlobalLayoutListener for? This listener is available for any view’s ViewTreeObserver and it’s quite often used to get a callback when the view is inflated and measured,
After getting a light idea of what Kotlin is and what it can do for us, it´s time to configure Android Studio to help us develop Android apps using Kotlin. It requires some steps that only need to be done first time, but some other Gradle configurations will need to be done on every new project. For this set of articles, I´ll be creating a reduced version of Bandhook, an app I created some time ag
Kotlin is one of the many JVM based languages that are starting to emerge as a possible Java successor in Android development. Java is one of the most used languages in the world, and while many other languages evolve to make programmers lives easier, Java has not been able to keep their track as fast as expected. It seems that many of the things Java lacks are being covered in latest revision, bu
[et_pb_section admin_label=”section”] [et_pb_row admin_label=”row”] [et_pb_column type=”4_4″][et_pb_text admin_label=”Text”]MVP (Model View Presenter) pattern is a derivative from the well known MVC (Model View Controller), and one of the most popular patterns to organize the presentation layer in Android Applications. This article was first published in April 2014, and been the most popular since
We were all hoping that the new support APIs included Material Design, the new theme adopted since Android 5.0 Lollipop. And it luckily happened: this new theme is included in AppCompat 21. So be aware that if you are using it for previous projects, the transition won’t be straightforward. If you want to know more about this topic, I have another article from a talk and a more complex example in a
このページを最初にブックマークしてみませんか?
『Antonio Leiva』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く