Search in sources :

Example 1 with FrageMessage

use of me.yluo.ruisiapp.fragment.FrageMessage in project Ruisi by freedom10086.

the class HomeActivity method tabClicked.

@Override
public void tabClicked(View v, int position, boolean isChange) {
    if (isChange) {
        if (fragments.get(position) instanceof FrageMessage) {
            FrageMessage m = (FrageMessage) fragments.get(position);
            // TODO
            m.updateNotifiCations(ishaveReply, ishavePm, false);
        }
        switchTab(position);
    } else {
        fragments.get(position).ScrollToTop();
    }
}
Also used : FrageMessage(me.yluo.ruisiapp.fragment.FrageMessage)

Aggregations

FrageMessage (me.yluo.ruisiapp.fragment.FrageMessage)1