当前位置: 首页>>代码示例>>Java>>正文


Java RLog.i方法代码示例

本文整理汇总了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);
}
 
开发者ID:LanguidSheep,项目名称:sealtalk-android-master,代码行数:9,代码来源:DaoMaster.java

示例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);
}
 
开发者ID:sealtalk,项目名称:sealtalk-android,代码行数:9,代码来源:DaoMaster.java

示例3: RongCallModule

import io.rong.common.RLog; //导入方法依赖的package包/类
public RongCallModule() {
    RLog.i(TAG, "Constructor");
}
 
开发者ID:hushengjun,项目名称:FastAndroid,代码行数:4,代码来源:RongCallModule.java

示例4: onInit

import io.rong.common.RLog; //导入方法依赖的package包/类
@Override
public void onInit(int code) {
    RLog.i(TAG, "onInit " + code);
}
 
开发者ID:hushengjun,项目名称:FastAndroid,代码行数:5,代码来源:Recognizer.java

示例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;
    }
}
 
开发者ID:LanguidSheep,项目名称:sealtalk-android-master,代码行数:42,代码来源:MainActivity.java

示例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);
}
 
开发者ID:LanguidSheep,项目名称:sealtalk-android-master,代码行数:6,代码来源:DaoMaster.java

示例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;
    }
}
 
开发者ID:zqHero,项目名称:rongyunDemo,代码行数:42,代码来源:MainActivity.java


注:本文中的io.rong.common.RLog.i方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。