Example usage for android.app ListFragment getUserVisibleHint

List of usage examples for android.app ListFragment getUserVisibleHint

Introduction

In this page you can find the example usage for android.app ListFragment getUserVisibleHint.

Prototype

public boolean getUserVisibleHint() 

Source Link

Usage

From source file:ca.zadrox.dota2esportticker.ui.MatchActivity.java

@Override
public void onFragmentViewCreated(ListFragment fragment) {
    if (fragment.getUserVisibleHint()) {
        mCurrentListView = fragment.getListView();
        enableActionBarAutoHide(mCurrentListView);
    }//  www .  j  a v a 2 s .  c o m
}