A Year of Open Source, Public Speaking, New Job, New House, and the Big NEWS! Me, giving a talk about Flutter Originally posted on my Medium profile. 2018 was a great year for me, both personally and professionally. Last year when I wrote my first year in review, I didn’t know the real impact of these reflections and year-in-reviews. But it has helped me in fighting my self imposter syndrome, holding myself accountable (at least to my inner me), keeping a log for myself, and most importantly, seeing how I improve myself as a person and as a developer over the years.
When you write a program in Java for Android and click a button, your code is transformed into another form understood by Android. This other form is called Dalvik Executable, or DEX code, and the transformation process is called compiling. Android is a complex system, but you don’t need to understand it in depth to be able to make amazing apps. To get started, we only need to understand the basics.
A behind the scenes story of an open source Android library to create book & card flipping animations in ViewPager About 2 years ago, in January 2017, I released my first open source library **EasyFlipView** on Github. At that time, I was working on an English vocabulary type app for a client. One particular task was to create flashcards which had English word on one side and the meaning on other sides.
In my current project at work, I had a task to add run time permissions in an android app whose code is very old and using legacy methods and frameworks/tools. Normally, I use Ted Permissions in all my apps for the runtime permissions and I must say that it’s one hell of an amazing library I ever saw and given the complex scenario and flow of runtime permissions in Android (thanks to Google who always makes sure to make every thing more complicated than ever), this library makes the runtime permissions like a breeze.
Today, when I was working on a project, so I had a situation where I had to perform a very tiny operation in background in Android. I had lots of ideas such as AsyncTask or Thread or using such powerful framework like RxJava or using new APIs such as JobDispatcher or WorkManager etc. You can read about these options in this good article by Ali Muzaffar. But my major concern was that my requirement was a very simple and little one.
My first talk on Flutter vs. Other Frameworks Me giving talk on Flutter I recently shared with you about Pakistan’s first Flutter meetup in Karachi. Well, it happened on 10th November, 2018. Flutter Meetup #1 — Karachi It was organized by Flutter Karachi in collaboration with 10 Pearls University as venue partner. There were about 40+ persons who attended the meetup. More than 75% were professionals in various tech such as web development, mobile development, backend etc.
Today, I had a huge Json in my app and I wanted to fetch all these values in a general way. I also wanted to parse Json for only one time to avoid try/catch each time I access any value. So, first thing I had in mind was to convert the JSONObject in the HashMap or Map<> etc. So if you are using Gson in your apps for json mapping, then you can use this one line code for conversion.