package com.ijoomer.components.jbolochat;
import android.view.View;
import android.widget.RadioGroup;
import com.ijoomer.caching.IjoomerCachingConstants;
import com.ijoomer.common.classes.IjoomerSuperMaster;
import com.ijoomer.src.R;
/**
* This Class Contains All Method Related To IcmsMasterActivity.
*
* @author tasol
*
*/
public abstract class JBoloChatMasterActivity extends IjoomerSuperMaster implements JBoloChatTagHolder {
public JBoloChatMasterActivity() {
super();
IjoomerCachingConstants.unNormalizeFields = JBoloChatCachingConstants.getUnnormlizeFields();
}
/**
* Overrides methods
*/
@Override
public void loadHeaderComponents() {
setKeyboardHideOnOutsideTouch(false);
super.loadHeaderComponents();
}
@Override
public int setFooterLayoutId() {
return R.layout.ijoomer_footer;
}
@Override
public int setHeaderLayoutId() {
return R.layout.jbolo_chat_header;
}
@Override
public View setLayoutView() {
return null;
}
@Override
public View setBottomAdvertisement() {
return null;//getAdvertisement("0445b7141d9d4e1b");
}
@Override
public View setTopAdvertisement() {
return null; // getAdvertisement("0445b7141d9d4e1b");
}
@Override
protected void onResume() {
super.onResume();
JBoloChatManager.getInstance(this).changePollingInterval(5000);
IjoomerCachingConstants.unNormalizeFields = JBoloChatCachingConstants.getUnnormlizeFields();
}
@Override
public int setTabBarDividerResId() {
return 0;
}
@Override
public int setTabItemLayoutId() {
return 0;
}
@Override
public String[] setTabItemNames() {
return null;
}
@Override
public int[] setTabItemOffDrawables() {
return null;
}
@Override
public int[] setTabItemOnDrawables() {
return null;
}
@Override
public int[] setTabItemPressDrawables() {
return null;
}
@Override
public void onCheckedChanged(RadioGroup group, int checkedId) {
}
@Override
protected void onPause() {
super.onPause();
JBoloChatManager.getInstance(this).setCurrentChatId("");
}
}