Jan 10, 2021Android Coroutine Guideline: IntroductionThis is the first blog-post of the coroutine series. I know lots of coroutine guidelines, blog posts, and videos on the internet. This is going to be yet another series. More coroutine doesn’t kill anyone. :) Before we jump into the Coroutines, I want to step back and look at…Android5 min read
Oct 18, 2018SSL pinning in Android : Using public certificate and BKS fileTo prevent MITM(Man in the Middle) attack, we may apply SSL pinning to our apps. There are couple of methods to apply secure socket layer pinning to our apps. It will be more understandable If you want to understand SSL handshake before you deep dive into pinning. …Security3 min read
Published in AndroidPub·Jan 31, 2018Polishing UI: Android StateListAnimatorMost of the time, we don’t spend time to develop our Android app’s UI, we just drag and drop views and start writing our app. I have observed that most of us don’t care that much about the user interface. And I believe that it’s wrong. Mobile developers should care…Android6 min read
Published in AndroidPub·Jan 9, 2018Mastering Shadows in AndroidIf we want to create better apps, I believe that we need to follow material design guideline.In general terms, Material design is a three-dimensional environment containing light, material, and cast shadows. …Android6 min read
Dec 23, 2017Güle güle 2017!Bu yılı bitirmek üzereyiz. Ve koca bir yıl ne yaptık? Hiç! Koca bir hiç! Şaka şaka. Tabi ki de böyle depresif laflara girmeyeceğim.😀 Yıl biterken evde boş boş oturduğum bi cumartesi akşamı (bu akşam) bu yıl neler yaptığımı log tarzında buraya yazmak istedim. Aslında 2018'de motivasyon amaçlı ne sözler versem…3 min read
Published in AndroidPub·Dec 18, 2017New Android Injector with Dagger 2 — part 3If you didn’t read part 1 and part 2, I suggest you to read them first. You can find links at the bottom. TLDR; You can use DaggerActivity, DaggerFragment, DaggerApplication to reduce boilerplate in your Activity/Fragment/Application. Also you can use AndroidInjector<T> in your dagger components to reduce boilerplate too. DaggerAppCompatActivity and DaggerFragment Remember that…Android3 min read
Published in Android Libraries Weekly·Dec 11, 2017Week #18 ❤ Kotlin1 — Kotlin Extensions A handy collection of most commonly used Kotlin extensions to boost your productivity. http://kotlinextensions.com/ ravidsrk/kotlinextensions.com kotlinextensions.com - A handy collection of most commonly used Kotlin extensions to boost your productivity.github.com 2 — Kotlin Poet A Kotlin API for generating .kt source files. square/kotlinpoet kotlinpoet - A Kotlin API for generating .kt source files.github.comKotlin1 min read
Nov 29, 2017Log.v(“ThreeTips”, “#17”)Kotlin is new trend and I see everyone is switching to Kotlin language in Android Development. So In my next tips, I will use more Kotlin. 1 — Operator Overloading in Kotlin Kotlin allows us to provide implementations for a predefined set of operators on our types. These operators have symbolic representation like *,-,+ etc. …Android2 min read
Nov 20, 2017Log.v(“ThreeTips”, “#16”)1 — @BindingAdapter and Kotlin @BindingAdapter is maybe the most powerful feature of databinding library in android world. It allows you to create your custom attribute. To see an example to usage, you can check 2.tip in log #10 . In java, we used to create @BindingAdapter just like that; public class BindingTextUtils {…Android2 min read
Nov 16, 2017Log.v(“ThreeTips”, ”#15”)1 — Mutate your drawable! Let say you have to change filter of drawable. What would you do? It is an easy question. You will do something like that. val drawable = ContextCompat.getDrawable(context, R.drawable.icon) drawable.setColorFilter(Color.WHITE) Everything seems OK. Until you need to use same resource in different page.I want to share official documentation about Drawable. …Android2 min read