<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Listview on BradCypert.com</title>
    <link>https://www.bradcypert.com/tags/listview/</link>
    <description>Recent content in Listview on BradCypert.com</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 27 Dec 2022 22:25:45 -0500</lastBuildDate>
    <atom:link href="https://www.bradcypert.com/tags/listview/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Android: ListView, RecyclerView, Adapters</title>
      <link>https://www.bradcypert.com/android-listview-recyclerview-adapters/</link>
      <pubDate>Tue, 27 Sep 2016 00:00:00 +0000</pubDate>
      <guid>https://www.bradcypert.com/android-listview-recyclerview-adapters/</guid>
      <description>&lt;p&gt;I recently started working on part three of my &lt;a href=&#34;http://www.bradcypert.com/tags/zero-to-hero/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;&lt;strong&gt;Zero-To-Hero&lt;/strong&gt;&lt;/a&gt;&#xA; series, which gives us a chance to leverage a RecyclerView and List Adapter for our Todo/Habit application. Though I cover them in that tutorial as well, I feel like they deserve a post to themselves to go a bit more in depth. Code examples are taken from the Turnip app that we build in the &lt;strong&gt;Zero-To-Hero&lt;/strong&gt; series.&lt;/p&gt;&#xA;&lt;h4 id=&#34;listviews&#34;&gt;ListViews&lt;/h4&gt;&#xA;&lt;p&gt;So what is a ListView? It’s a very commonly used view group in the Android ecosystem and is used to display a list of scrollable items. It’s important to note that the content is automatically inserted into the ListView from an adapter, and we’ll talk about those in a second. A few examples of list views include the settings app on your phone or the songs in Spotify’s playlist view. With a list view, you define a view holder template which acts as the view that is used for each list item. This view holder is written just like any other template – standard XML with a container element.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
