Android SharedPreferences Tutorial and Example

Blog

  1. Handling Item Clicks in a ListViewHandling Item Clicks in a ListView is a common Android task when an app needs to respond to a user selecting a row. A tap might open a details screen, update a…
  2. Creating a Custom ListView Adapter with View RecyclingA ListView displays rows by asking an adapter for the view required at each position. A custom adapter gives you control over how each row looks, how data is…
  3. How to Filter a ListView with a Search FilterA searchable ListView helps users find an item without scrolling through a long collection. In an Android app, the usual pattern is to place an EditText or…
  4. Adding a SearchView to Your Toolbar in Modern Android AppsSearch functionality sits at the heart of most successful mobile apps, whether users are hunting for products, contacts, or content. For Android developers…
  5. Crafting CardView layouts with elevation and corner radiusCardView is a foundational component of Material Design layouts on Android, giving any view container that distinctive raised, rounded appearance users expect…
  6. Implementing a ScrollView With Nested Content in AndroidA ScrollView is useful when an Android screen contains more information than can fit vertically. Product details, registration forms, settings pages and help…
  7. Mastering LinearLayout and RelativeLayout BasicsAndroid layouts define how views are arranged, sized and presented on a screen. For beginners, LinearLayout and RelativeLayout provide a practical foundation…
  8. How to Use ConstraintLayout to Design Complex LayoutsConstraintLayout is one of the most useful tools for building flexible Android interfaces. Instead of arranging views through several nested LinearLayout and…
  9. Building a Splash Screen with Animation in AndroidA splash screen is the short visual sequence shown while an Android application loads its first screen. It can display a brand mark, a background colour, or a…
  10. Building smooth fade animations in Android appsAnimations shape how users feel about an Android app. A well-timed fade in can make a splash screen feel professional in Sydney's bustling startup scene, while…