本文整理汇总了Java中io.rong.common.RLog.i方法的典型用法代码示例。如果您正苦于以下问题:Java RLog.i方法的具体用法?Java RLog.i怎么用?Java RLog.i使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类io.rong.common.RLog
的用法示例。
在下文中一共展示了RLog.i方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: onUpgrade
import io.rong.common.RLog; //导入方法依赖的package包/类
@Override
public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
RLog.i("greenDAO", "Upgrading schema from version " + oldVersion + " to " + newVersion + " by dropping all tables");
dropAllTables(db, true);
SharedPreferences sp = mContext.getSharedPreferences("config", Context.MODE_PRIVATE);
sp.edit().putInt("getAllUserInfoState", 0).apply();
onCreate(db);
}
示例2: onUpgrade
import io.rong.common.RLog; //导入方法依赖的package包/类
@Override
public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
RLog.i("greenDAO", "Upgrading schema from version " + oldVersion + " to " + newVersion + " by dropping all tables");
dropAllTables(db, true);
SharedPreferences sp = mContext.getSharedPreferences("config", Context.MODE_PRIVATE);
sp.edit().putInt("getAllUserInfoState", 0).commit();
onCreate(db);
}
示例3: RongCallModule
import io.rong.common.RLog; //导入方法依赖的package包/类
public RongCallModule() {
RLog.i(TAG, "Constructor");
}
示例4: onInit
import io.rong.common.RLog; //导入方法依赖的package包/类
@Override
public void onInit(int code) {
RLog.i(TAG, "onInit " + code);
}
示例5: onClick
import io.rong.common.RLog; //导入方法依赖的package包/类
@Override
public void onClick(View v) {
switch (v.getId()) {
case R.id.seal_chat:
if (mViewPager.getCurrentItem() == 0) {
if (firstClick == 0) {
firstClick = System.currentTimeMillis();
} else {
secondClick = System.currentTimeMillis();
}
RLog.i("MainActivity", "time = " + (secondClick - firstClick));
if (secondClick - firstClick > 0 && secondClick - firstClick <= 800) {
mConversationListFragment.focusUnreadItem();
firstClick = 0;
secondClick = 0;
} else if (firstClick != 0 && secondClick != 0) {
firstClick = 0;
secondClick = 0;
}
}
mViewPager.setCurrentItem(0, false);
break;
case R.id.seal_contact_list:
mViewPager.setCurrentItem(1, false);
break;
case R.id.seal_find:
mViewPager.setCurrentItem(2, false);
break;
case R.id.seal_me:
mViewPager.setCurrentItem(3, false);
mMineRed.setVisibility(View.GONE);
break;
case R.id.seal_more://标题栏的加号
MorePopWindow morePopWindow = new MorePopWindow(MainActivity.this);
morePopWindow.showPopupWindow(moreImage);
break;
case R.id.ac_iv_search://标题栏的查询
startActivity(new Intent(MainActivity.this, SealSearchActivity.class));
break;
}
}
示例6: onCreate
import io.rong.common.RLog; //导入方法依赖的package包/类
@Override
public void onCreate(SQLiteDatabase db) {
RLog.i("greenDAO", "Creating tables for schema version " + SCHEMA_VERSION);
createAllTables(db, false);
}
示例7: onClick
import io.rong.common.RLog; //导入方法依赖的package包/类
@Override
public void onClick(View v) {
switch (v.getId()) {
case R.id.seal_chat:
if (mViewPager.getCurrentItem() == 0) {
if (firstClick == 0) {
firstClick = System.currentTimeMillis();
} else {
secondClick = System.currentTimeMillis();
}
RLog.i("MainActivity", "time = " + (secondClick - firstClick));
if (secondClick - firstClick > 0 && secondClick - firstClick <= 800) {
mConversationListFragment.focusUnreadItem();
firstClick = 0;
secondClick = 0;
} else if (firstClick != 0 && secondClick != 0) {
firstClick = 0;
secondClick = 0;
}
}
mViewPager.setCurrentItem(0, false);
break;
case R.id.seal_contact_list:
mViewPager.setCurrentItem(1, false);
break;
case R.id.seal_find:
mViewPager.setCurrentItem(2, false);
break;
case R.id.seal_me:
mViewPager.setCurrentItem(3, false);
mMineRed.setVisibility(View.GONE);
break;
case R.id.seal_more:
MorePopWindow morePopWindow = new MorePopWindow(MainActivity.this);
morePopWindow.showPopupWindow(moreImage);
break;
case R.id.ac_iv_search:
startActivity(new Intent(MainActivity.this, SealSearchActivity.class));
break;
}
}