A ListView is an android widget that allows us to render a list of scrollable items.

ListView is an adapterview like gridview and spinner.

This means that it requires an adapter for it to insert its items. The adapter becomes responsible for pulling data from a content source.

This source can be an array or something more complex like database or from the network.

Not only that but the adapter will also be responsible for converting each item result into a view that will be placed into the listview.

This is because as an adapterview the ListView does not know the details, such as type and contents, of the views it contains.

So it will ask for the views on demand from a ListAdapter as needed. For instance it asks for these views as the user scrolls up or down.

Each of the views in the ListView is positioned immediately below the previous view in the list.

Android HttpURLConnection Tutorial and Examples.

In this piece we explore HttpURLConnection, android and java's standard networking class.

As a networking class HttpURLConnection can be to make HTTP requests over the web.

Android org.JSON and HttpURLConnection Tutorial and Examples.

This is an android JSON and HttpURLConnection tutorial. We want to see several examples making use of these two technologies.

In this class we will look at the BottomNavigation and how to implement it using the AHBottomNavigation libray by Aurel Herbert. We want to look at it in Kotlin programming language.

Basically we will be switching through listviews with different categories depending on the tab that is clicked. We have three tabs:

  • Planets tab
  • Stars Tab
  • Galaxies tab.

Switching any tabs basically binds some static data to the ListView. We are not using any fragments as we can achieve this type of categorization app without them.

In this class we want to see how to populate a WPF ListBox from a string array.

WPF Stands for Windows Presentation Foundation and allows us develop visually rich .NET applications.

In this class we want to see how to perform a HTTP GET request and fetch data from online and bind to our custom listview. We are using the standard HttpURLConnection class to perform this request.

We also use an AsyncTask to do these in the background thread. We show a progress dialog as our data downloads.

How to sort a simple listview in ascending and descending manner in Kotlin Android.

Let's see how to sort data in a ListView in both ascending and descendig manner.

You click a button to sort in ascending, then click it again to toggle the sort into descending manner and vice versa.

This is a Kotlin android tutorial. We will see how to create an alert dialog that has a List of data.

The user clicks a List item and we show it in a Toast message.

This is a tutorial for population of spinner from a Kotlin Array and handling the spinner's itemSelection event.

Spinner is a widget, of course defined in the android.widget package and allows us render items in a dropdwon fashion.

In this tutorial we want to see how to set array of items in our spinner. Our programming language is Kotlin.

This is a tutorial meant to introduce us two important concepts when working with any Framework. You can basically use this sort of example to gaugle how easy a web application framework is.

In this case we will see how to work with wtForms in Flask. Then in the process we make HTTP GET and HTTP POST requests, the latter first.

So the user enters the registeration details in the Form Fields and clicks register. A HTTP POST request is made to the server and a response is served to the user using a HTTP GET request.