Android SharedPreferences Tutorial and Example

Blog

  1. Using Data Binding to Replace findViewById in Android AppsAndroid layouts often begin with a familiar pattern: inflate an XML file, call findViewById for every widget, and store the results in properties. This works,…
  2. Handling orientation and screen size in Android appsAn Android app can appear stable in portrait mode and then lose its layout when a user rotates the phone, opens a foldable device, or resizes a window.…
  3. Responsive Layouts for Tablets with SlidingPaneLayoutTablet apps have more room than phone interfaces, yet simply enlarging every control rarely produces a useful experience. A two-pane design can show a list,…
  4. Using MotionLayout For Complex Android AnimationsMotionLayout gives Android developers a structured way to animate changes between layouts. It combines the positioning power of ConstraintLayout with a…
  5. Adding Drag and Drop to RecyclerView Items in AndroidA sortable list can make an Android app feel faster and more natural. Users may arrange shopping items, reorder tasks, customise a playlist, or move cards…
  6. Swipe to Delete in RecyclerView: A Practical Android GuideRecyclerView remains the workhorse list component for Android apps shipped from Sydney to Perth, and developers often need to let users remove items with a…
  7. Build a todo list app with RecyclerView and SQLite in AndroidAndroid development remains a thriving space across Australia, with indie studios in Brisbane and Melbourne and weekend hackathons hosted by communities in…
  8. Building a Simple Calculator App Step by Step in Android StudioAcross Australia's growing tech corridors, from the co-working spaces of Sydney's Surry Hills to the university labs in Parkville, mobile development remains…
  9. Updating Widget Data With RemoteViews In Android AppsFrom the weather panel on a Telstra-powered handset in a Brisbane high-rise to the AFL scores pinned on a Pixel running stock Android, home screen widgets…
  10. Building a home screen widget for your Android applicationAndroid widgets sit directly on the home screen, giving users a glanceable window into your app's most useful features. In Australia, where Android runs on…