package Ġcom . example . chess clock Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . os . Handler Ċ import Ġandroid . os . Looper Ċ import Ġandroid . view . View Ċ import Ġandroidx . fragment . app . Fragment Ċ import Ġandroidx . navigation . fragment . find Nav Controller Ċ Ċ class ĠSpl ash Fragment Ġ: ĠFragment ( R . layout . fragment _ splash ) Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġon View Created ( view : ĠView , ĠsavedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . on View Created ( view , ĠsavedInstanceState ) ĊĊĠĠĠĠĠĠĠ ĠHandler ( Looper . get Main Looper ()). post Delayed ({ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġfind Nav Controller (). navigate ( R . id . action _ splash Fragment _ to _ dashboard Fragment ) ĊĠĠĠĠĠĠĠ Ġ}, Ġ 2 5 0 0 ) ĊĠĠĠ Ġ} Ċ Ċ }