Java Code Examples for android.view.View.onFinishTemporaryDetach()

The following are Jave code examples for showing how to use onFinishTemporaryDetach() of the android.view.View class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: boohee_v5.6   File: PLA_AbsListView.java   Source Code and License Vote up 6 votes
private void dispatchFinishTemporaryDetach(View v) {
    if (v != null) {
        v.onFinishTemporaryDetach();
        if (v instanceof ViewGroup) {
            ViewGroup group = (ViewGroup) v;
            int count = group.getChildCount();
            for (int i = 0; i < count; i++) {
                dispatchFinishTemporaryDetach(group.getChildAt(i));
            }
        }
    }
}
 
Example 2
Project: boohee_v5.6   File: ViewCompat.java   Source Code and License Vote up 6 votes
public void dispatchFinishTemporaryDetach(View view) {
    if (!this.mTempDetachBound) {
        bindTempDetach();
    }
    if (this.mDispatchFinishTemporaryDetach != null) {
        try {
            this.mDispatchFinishTemporaryDetach.invoke(view, new Object[0]);
            return;
        } catch (Exception e) {
            Log.d("ViewCompat", "Error calling dispatchFinishTemporaryDetach", e);
            return;
        }
    }
    view.onFinishTemporaryDetach();
}
 
Example 3
Project: letv   File: ViewCompat.java   Source Code and License Vote up 5 votes
public void dispatchFinishTemporaryDetach(View view) {
    if (!this.mTempDetachBound) {
        bindTempDetach();
    }
    if (this.mDispatchFinishTemporaryDetach != null) {
        try {
            this.mDispatchFinishTemporaryDetach.invoke(view, new Object[0]);
            return;
        } catch (Exception e) {
            Log.d("ViewCompat", "Error calling dispatchFinishTemporaryDetach", e);
            return;
        }
    }
    view.onFinishTemporaryDetach();
}
 
Example 4
Project: Swap   File: PLA_AbsListView.java   Source Code and License Vote up 5 votes
private void dispatchFinishTemporaryDetach(View v) {
    if( v == null )
        return;

    v.onFinishTemporaryDetach();
    if( v instanceof ViewGroup){
        ViewGroup group = (ViewGroup) v;
        final int count = group.getChildCount();
        for (int i = 0; i < count; i++) {
            dispatchFinishTemporaryDetach(group.getChildAt(i));
        }			
    }
}