Any solution to this problem? Navigation framework...
# android
a
Any solution to this problem? Navigation framework using safearg
😶 3
n
Check if is not null
or put on end ‘!!’ currentCount!!, but i don’t recommend
r
!! is never a good idea in my view because then you start to get NullException , and avoid as much as possible initilaize variables to null
am trying an approach where I declare variables when I intend to use them
a
@Nicolae Cozma The null check is not working. The compiler keep hinting on too many arguments at the
actionFirstFragmentToSecondFragment()
method. Do you understand navigation framework on android development?