We had a project where we were aiming to reuse the same codebase across mobile and TV. You have this care very often and there is this consideration of: Should we use the Leanback Fragments? The experienced Android TV developer that is always ignored. We give the project a quick go and check how it … Continue reading RecyclerView loses focus when scrolling fast … or how to use it on Android TV →
Websocket integration is one of the biggest issues I had in my whole experience with Android. Why is it such a huge pain? There are several reasons behind that: Connection should remain stable no matter what – and we know how complex the Android lifecycle can be. Sending data can be a one-way operation without … Continue reading Taming websockets with Coroutines, Clean Architecture and a library →
Let’s admit – the Android navigation library is a really cool thing but it has its own issues and drawbacks. One of the issues you can have is the TransactionTooLargeException. And here is how it happens.
What is the difference between this piece of code: and this one:
I guess I updated recently to the latest linux-headers-kernel and my laptop decided to surprise me one morning. It just didn’t boot up. It got stuck at the point where it said it couldn’t find the dkms.conf file.
I am so sad to see really good developers leaving because we are not doing products but projects an unknown CTO Believe it or not, I heard the above on a lunch with the whole Android team and with the CTO of the whole company that I was working for. What does it mean to … Continue reading Are you a product developer or a project developer? →
After months and months dealing with this freaking issue that has become a pain in the ass, for real, there is this article: That made things working again. I just cannot believe how much effort is needed to make a simple bluetooth headset work on Ubuntu. It still doesn’t work great, but it is fine.
In Android we have to deal with both big screen and small screens, tablets, watches, TVs and many other devices. In our case, we had a device with a 3.2″ display and other one with 5″ display. And on both of them we show a DatePicker dialog to choose a date. And guess what? Especially … Continue reading How to make DatePicker stretch when CalendarView does not fit the screen? →
Setting a toolbar title on the activity should be easy, right? But what about if you want do it through a fragment? Still easy? Well, not exactly. The issue is that you may try to touch the toolbar in a moment where the activity is actually still not inflated. This will cause an exception immediately … Continue reading Approaches not to cause a crash when setting toolbar title on the activity through a fragment →
From time to time I get this really nasty bug where the toolbar in Android Studio is aligned to the start of the screen. I mean the part where you select the device and press Run, for some reason sometimes just moves to the left and bringing it back to the right is a bit … Continue reading Fix the display of the toolbar in Android Studio →
Something went wrong. Please refresh the page and/or try again.
Follow My Blog
Get new content delivered directly to your inbox.