How to Create Lists using RecyclerView

In this post, we’re going to look at the newer RecyclerView to build more complicated lists and list items. RecyclerView was a recently added UI item that gave developers fine-grain control and power over their lists or grids. However, as we’ll find out, that great power comes with great responsibility. RecyclerView doesn’t provide much of the basic functionality that ListView … Read moreHow to Create Lists using RecyclerView

How to Create Simple Lists using ListViews

Hello World! In this post, we’re going to learn how to use one of the most useful views in Android: the ListView. We can use ListViews to present data in the form of a list. We can choose any kind of data as input and display it however we want. That’s the power of a ListView. In this … Read moreHow to Create Simple Lists using ListViews

Creating a Unit Converter App – Part 2

This is Part 2 of the series on creating a Unit Converter app (you can view part 1 here). In this final section, we’re going to work on the View and Controller of our Unit Converter and learn about how we can design a UI with Spinners to allow the user the convert units. View Since we have a relatively … Read moreCreating a Unit Converter App – Part 2

Creating a Unit Converter App – Part 1

In this post (split into two), we’re going to build a unit converter app. We’ll be learning many things along the way like the Model-View-Controller (MVC) pattern, Java Enums, and Spinners. By the end of this post, we’ll have a working app that will allow us to convert to and from various units of distance like miles, centimeters, kilometers, and other units. … Read moreCreating a Unit Converter App – Part 1

Basic UI Widgets – TextViews, EditTexts, and Buttons

Hello World! In this post, we’re going to be going in-depth into several of the most common UI elements that we’ll encounter in Android: TextViews, EditTexts, and Buttons. We’ll be looking into their properties and some of Java’s language features like anonymous inner classes. TextView The simplest way to show the user text is through the TextView … Read moreBasic UI Widgets – TextViews, EditTexts, and Buttons

Hola World – First Steps with Android

Hello World! In this post we’re going to create our very first Android application! We’re going to download Android Studio and other prerequisites. Then we’re going to create a new Android Studio project and write a little app such that the user can type in his or her name, press a button, and the app will … Read moreHola World – First Steps with Android

Online Course – Learn Android Marshmallow Development

What if you could learn, from total scratch, to code in Java and make your own Android M phone and wearable apps? In this course, you will learn to create your own Android M apps from scratch using Java. The course includes 5 Real-World apps fully explained and built from the ground up + the … Read moreOnline Course – Learn Android Marshmallow Development

Zero-Day Java Guide 4 – Advanced OOP

Interfaces There are cases in software development when we need to agree upon a contract that dictates how software components interact with each other. This allows many people to write independent code while still maintaining the core functionality of the software component. For example, all automobiles have the same basic functionality: turning and signaling, for … Read moreZero-Day Java Guide 4 – Advanced OOP

Zero Day Java Guide 3 – Object-Oriented Programming

Introduction to Objects Object-oriented programming (shortened to OOP) applies the concepts of real-world objects to programming. For example, think of an object near you: a pen, a chair, a computer. All of these things can be modeled in an OOP language like Java. In this section, we’re going to move from low-level, concrete structures like … Read moreZero Day Java Guide 3 – Object-Oriented Programming

Zero-Day Java Guide 2 – Operators and Control Flow

Operators In the previous sections, we learned how to create and use Java variables and arrays. Now that we can store data as variables, we need to perform operations on them, such as adding or multiplying. In this section, we’ll look at the basic mathematical operators that we can perform on all of the Java … Read moreZero-Day Java Guide 2 – Operators and Control Flow

Tutorials on game, web and mobile app development