public void onRowViewAdded(NotificationBoard board, RowView rowView, NotificationEntry entry) {
        if (DBG) Log.v(TAG, "onRowViewAdded - " + entry.ID);

        if (entry.hasActions()) {
            ArrayList<Action> actions = entry.getActions();
            ViewGroup vg = (ViewGroup) rowView.findViewById(R.id.actions);
            vg.setVisibility(View.VISIBLE);
            vg = (ViewGroup) vg.getChildAt(0);

            final View.OnClickListener onClickListener = new View.OnClickListener() {

                    @Override
                    public void onClick(View view) {
                        Action act = (Action) view.getTag();
                        onClickActionView(act.entry, act, view);
                        act.execute(view.getContext());
                    }
                };

            for (int i = 0, count = actions.size(); i < count; i++) {
                Action act = actions.get(i);
                Button actionBtn = (Button) vg.getChildAt(i);
                actionBtn.setVisibility(View.VISIBLE);
                actionBtn.setTag(act);
                actionBtn.setText(act.title);
                actionBtn.setOnClickListener(onClickListener);
                actionBtn.setCompoundDrawablesWithIntrinsicBounds(act.icon, 0, 0, 0);
            }
        }
    }
public void onRowViewAdded ( NotificationBoard board , RowView rowView , NotificationEntry entry ) { if ( DBG ) Log . v ( TAG , "onRowViewAdded - " + entry . ID ) ; if ( entry . hasActions ( ) ) { ArrayList < Action > actions = entry . getActions ( ) ; ViewGroup vg = ( ViewGroup ) rowView . findViewById ( R . id . actions ) ; vg . setVisibility ( View . VISIBLE ) ; vg = ( ViewGroup ) vg . getChildAt ( 0 ) ; final View . OnClickListener onClickListener = new View . OnClickListener ( ) { @ Override public void onClick ( View view ) { Action act = ( Action ) view . getTag ( ) ; onClickActionView ( act . entry , act , view ) ; act . execute ( view . getContext ( ) ) ; } } ; for ( int i = 0 , count = actions . size ( ) ; i < count ; i ++ ) { Action act = actions . get ( i ) ; Button actionBtn = ( Button ) vg . getChildAt ( i ) ; actionBtn . setVisibility ( View . VISIBLE ) ; actionBtn . setTag ( act ) ; actionBtn . setText ( act . title ) ; actionBtn . setOnClickListener ( onClickListener ) ; actionBtn . setCompoundDrawablesWithIntrinsicBounds ( act . icon , 0 , 0 , 0 ) ; } } }
Called when a row view is added to the board.

@param board
@param rowView
@param entry