This is my third week providing examples for the Java Collections Framework. It’s actually been four weeks since my first of these posts, but I missed last week due to being sick. I’ll miss next week as well due to being on vacation.
Android Spinner (Drop-Down List) SpinnerAdapter Problem: ArrayAdapter requires the resource ID to be a TextView
I’ve been having a bit of trouble with constructing an ArrayAdapter for a “spinner” (aka drop-down list) for an Android app I’ve been working on.
It’s been a little while since I wrote something Java-related (March 28, 2019 was the last time, to be exact) so I figured I write something simple.
I’m a Java programmer by trade, and, for whatever reason, I tend to think about edge-cases I might (or might not) encounter while programming (see my article Four Java Limitations You May Never Encounter). One particular example I’ve been contemplating recently is if one null object equals another null object in Java.
I’m almost done with grad school and graduating with my Master’s in Computer Science - just one class left on Wednesday, and that’s the final exam. Originally I had hoped to graduate last year, but things happened that delayed my graduation year (to be specific, I switched from a thesis to non-thesis curriculum). My final class is Distributed Computing, which I had a project to do. This project included a report. For my project, I compared the performance of a Java 8 parallel stream to a “normal” non-parallel (i.e. serial) stream.
I’ve been wanting to play around making Android apps for awhile now. Though difficult, I was able to setup things using Maven and IntelliJ. Almost everything was working - I could even build an APK and install it on my phone - but when I tried to run it on my computer via an Android Virtual Device, I needed to download some components via IntelliJ. Unfortunately, I received the following error: