Friday, January 12, 2018

Graphically Highlighting Class Definition and Instantiation in an Android Adapter





This graphic highlights where a class called ImageAdapter (that extends BaseAdapter) is defined as a class.

I'm experimenting with graphics in Android documentation to draw out the connections and meaning.

Graphically Highlighting Resource File Parts and Their Usage in Code


I couldn't see what I needed to see in these two blocks of code, so I highlighted what I needed to see graphically.  What is shown is the layout file name are:
  1. Where the xml file is defined (res/layout/main.xml) and where it's used in the setContentView(R.layout.main).
  2. Where the GridView id is defined, and where the id is used to find the grid view.

Graphically Highlighting Class Definition and Instantiation in an Android Adapter

This graphic highlights where a class called ImageAdapter (that extends BaseAdapter ) is defined as a class. I'm experimenting ...