Example usage for android.widget GridView invalidateViews

List of usage examples for android.widget GridView invalidateViews

Introduction

In this page you can find the example usage for android.widget GridView invalidateViews.

Prototype

public void invalidateViews() 

Source Link

Document

Causes all the views to be rebuilt and redrawn.

Usage

From source file:org.libreoffice.impressremote.fragment.slides.SlidesGridFragment.java

@Override
void slideShowStateChanged() {
    GridView grid = getSlidesGrid();
    if (grid != null)
        grid.invalidateViews();
}

From source file:org.ecmdroid.activity.EEPROMActivity.java

public void onCellValueChanged(int offset, byte value) {
    byte oldValue = ecm.getEEPROM().getBytes()[offset];
    if (oldValue != value) {
        ecm.getEEPROM().getBytes()[offset] = value;
        ecm.getEEPROM().touch(offset, 1);
        GridView gridview = (GridView) findViewById(R.id.eepromGrid);
        gridview.invalidateViews();
        showCellInfo(offset);/*from  www. j a  va 2s.c o m*/
    }
}

From source file:com.b44t.ui.Components.EmojiView.java

public void invalidateViews() {
    for (GridView gridView : views) {
        if (gridView != null) {
            gridView.invalidateViews();
        }//  w w  w  .j  a  v a2 s  . c  om
    }
}