ibrahimsn98 / SmoothBottomBar

A lightweight Android material bottom navigation bar library
MIT License
1.97k stars 255 forks source link

Related to #87: Please how to get item view? #97

Closed henrichg closed 5 months ago

henrichg commented 2 years ago

It is important for TabTargetView.

targets.add(TapTarget.forView(bottomNavigationView.findViewById(R.id.menu_profiles_view), 
        getString(R.string.editor_activity_targetHelps_bottomNavigationProfiles_title),
        getString(R.string.editor_activity_targetHelps_bottomNavigationProfiles_description) + "\n" +
        getString(R.string.editor_activity_targetHelps_bottomNavigation_description_2))
        .outerCircleColor(outerCircleColor)
        .targetCircleColor(targetCircleColor)
        .textColor(textColor)
        .tintTarget(true)
        .drawShadow(true)
        .id(id)

bottomNavigationView.findViewById(R.id.menu_profiles_view) returns null. :-( R.id.menu_profiles_view is menu item resource id.

1902shubh commented 1 year ago

i am also implementing same thing let me know if you get any solution for it