English | Site Directory

Android - An Open Handset Alliance Project

android.view
public static interface

android.view.View.OnFocusChangeListener

android.view.View.OnFocusChangeListener

Interface definition for a callback to be invoked when the focus state of a view changed.

Summary

Public Methods

        void  onFocusChanged(View v, boolean hasFocus)
Called when the focus state of a view has changed.

Details

Public Methods

public void onFocusChanged(View v, boolean hasFocus)

Called when the focus state of a view has changed.

Parameters

v The view whose state has changed.
hasFocus The new focus state of v.
Build m5-rc15g - 14 May 2008 12:50