This is a Clilstore unit. You can link all words to dictionaries.

Simple ListView in Android

All right, I have just done a little mock-up here in Lego of what exactly a ListView is. And, on the left hand side, I have my mobile phone and, inside there, I have my screen, which has a ListView in it, and this ListView is displaying bits of data. Each part of the ListView is called a cell and a ListView is just a collection of these cells. Now, an Adapter is the part of our program that feeds the ListView, so the Adapter passes in these cells to the top, or to the bottom, depending on which way was scrolling. The adapter has to provide the cells. It can either, create a new cell and pass that in, but that's expensive to do in computing terms. And it's much more efficient if we take a recycled cell that's passed off of the screen, either to the top or the bottom, and we give it to the Adapter and the Adapter then gets a list of data and picks off the first one from that, and attaches it to the cell. It then passes that cell into the ListView. So, an Adapter, you can think of as the conductor or the orchestrator of everything that's happening with your ListView. It decides if he should make a new cell or if it should use the recycled cell. It then attaches the data we want to display to that cell and then feeds the cell into our ListView on our device’s screen.

Short url:   https://multidict.net/cs/4175