Dev Bits and Bytes
  • Home
Subscribe
Tagged

navigation

A collection of 2 posts

Invoke Navigation from ViewModel using DataBinding
navigation

Invoke Navigation from ViewModel using DataBinding

Android provides a very good Data Binding library to bind the layout views to a ViewModel. When I initially started out Android development there wasn't the Data Binding library and most of the view changes were made from Fragment. This quickly bloated the Fragment file and it become

MK May 9, 2021 • 3 min read
Android Up Navigation Won't Work on Toolbar using Navigation Component
up navigation

Android Up Navigation Won't Work on Toolbar using Navigation Component

While recently learning the Navigation component in Android,  I was trying to make the navigation work with the Toolbar, however the Up navigation doesn't work. I was following this official documentation [https://developer.android.com/guide/navigation/navigation-ui#create_a_toolbar] and I made sure to follow all

MK May 2, 2021 • 2 min read
Dev Bits and Bytes © 2025
Powered by Ghost