Code example for Gallery

Methods: setVisibility

0
        mRecommendedList.setVisibility(View.VISIBLE);
        mIsRecommendedExpended = true;
    } 
 
    private void collapsRecommended() { 
        mRecommendedList.setVisibility(View.GONE);
        mIsRecommendedExpended = false;
    } 
 
    public void setOnExtraControllListener(OnExtraControllListener l) {
        mOnExtraControllListener = l;
    } 
 
    public interface MediaPlayerControl { 
        void    start(); 
        void    pause(); 
        int     getDuration(); 
        int     getCurrentPosition(); 
        void    seekTo(int pos);
        boolean isPlaying(); 
        int     getBufferPercentage();