Пример #1
0
 public void SetOnItemSelectedListener(IOnTabSelectedListener listener)
 {
     _listener = listener;
 }
Пример #2
0
        ////////////////////////////////////////////////////////////////////////////////////////////////
        // Anytime Setter methods that can be called irrespective of whether we call initialise or not
        ////////////////////////////////////////////////////////////////////////////////////////////////

        /// <param name="tabSelectedListener"> callback listener for tabs </param>
        /// <returns> this, to allow builder pattern </returns>
        public virtual BottomNavigationBar SetTabSelectedListener(IOnTabSelectedListener tabSelectedListener)
        {
            this.mTabSelectedListener = tabSelectedListener;
            return(this);
        }