Skip to content

Instantly share code, notes, and snippets.

Sudhanshu sud007

Block or report user

Report or block sud007

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
sud007 / YourFragment.kt
Created Feb 26, 2019 — forked from rylexr/YourFragment.kt
Android navigation bar style with animation
View YourFragment.kt
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View {
binding = DataBindingUtil.inflate(inflater, R.layout.your_fragment, container, false)
binding.homeAction.setOnClickListener { select( }
binding.likesAction.setOnClickListener { select( }
binding.searchAction.setOnClickListener { select( }
binding.profileAction.setOnClickListener { select( }
return binding.root
fun select(id: Int) {
You can’t perform that action at this time.