Droidchef’s Blog

  • Regex as a Steroid for Find and Replace in IDE
    This is a long story about a small trick I learned about using Regex with Find and Replace in the IDE. Understanding Our Small Problem I was writing a small python script to push make some requests to an endpoint for seeding my database. I had my data in a…
  • What’s Wrong With Stack in Java and Kotlin?
    Do you use Stacks in Java? This blog explains why the Stack class is a bad choice for your Java and Kotlin apps and how you can move away from Stack class.
  • Working with In-App Updates in Android​
    Learn how to implement in-app updates using the Google Play core library in your Android apps by following this step by step tutorial with code snippets.
  • Flutter Add-to-App in Production: A War Story
    Are you planning to use Flutter Add-to-App feature in Production? Make sure you carefully listen to my story about using this in production. Our team at Getaround did a thorough research investigating ways to integrate Flutter into our Native apps using Add-to-App. We successfully managed to ship a feature built…
  • Mobile Experimentation Talk at Droidcon
    How do I run experiments in my mobile app? What does A/B testing on Android & iOS look like? If similar questions around mobile experimentation cross your mind, you’re in the right place. Im this post, I present you with my talk from Droidcon Berlin 2019 that will teach you…
  • Android Studio always modifying codeStyleSettings.xml – Fixed
    Yesterday a colleague of mine started experiencing a weird issue with their android studio. Whenever they’d build the code, a change would be written to codeStyleSettings.xml file automatically. The change at the first glance was clearly unrelated to something they had been working and hence they weren’t able to figure…
  • When RecyclerView couldn’t hold onto the weights of our LinearLayouts
    While testing our android app on tablets a while ago, a developer reported that the app had a glitch on the Search Results in landscape mode. After making a search, when we scroll on the search results page, the screen becomes unresponsive. We immediately started investigation and were easily able…
  • Modularization in Android
    We have all heard stories about modularization, faster builds, quicker iterations and all the good things we get through it. But when it comes to actually breaking your legacy into modules, your code can give you a serious run for money. In this talk I share how 60+ Android Devs…
  • Learn how to test your Android app for flaky connections!
    Request timed out! But you didn’t expect it, did you? Of course not because while you were writing the app and testing the code you were always on your blazing fast WiFi connection or a 4G LTE network. But in the real world, all your users don’t have access to…
  • How to Love Your Developers Like Your Customers
    Abstract: In this talk I’ll show how you can increase developer productivity of your Android Teams by adding simple debug features to your app, hacking gradle and Android Studio to turn your Devs into Super Heroes who ship much better products faster than ever. Everybody talks about Design, Architectures, Libraries…
  • Making the most out of Android Studio Debugger
    This is a trick I learnt very recently from a Senior Android Developer at my company and now I feel miserable about all the time I had spent waiting for Gradle builds to test my changes while writing Android Apps. Here is a typical scenario every android developer would have…
  • How to navigate through your java projects on Github like a boss?
    If you are an Android or a Java Developer you’d know about the pain of navigating amongst the classes of a project on Github. You either need to look it up in the tree like this or use the file finder using the keyboard shortcut “ t ” like this…
  • 7 things you need to know, to ace your GSoC Proposal
    So its that time of the year again when students will start hustling for their Google Summer of Code proposals, especially since the organizations will begin accepting them from today. Before you go any further, mark your calendars, April 3, 2017, is the last day to submit your proposal. 1.…
  • A Productive Git Workflow
    Since git is an integral part of my development life cycle and I spend quite sometime committing things to it, I always felt there was something missing, until I did my Android Nanodegree at Udacity where I learned about structured commits. Why structure your commits? Keeps your git history neat &…