• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java ChangeLog类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中de.cketti.library.changelog.ChangeLog的典型用法代码示例。如果您正苦于以下问题:Java ChangeLog类的具体用法?Java ChangeLog怎么用?Java ChangeLog使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



ChangeLog类属于de.cketti.library.changelog包,在下文中一共展示了ChangeLog类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: onCreate

import de.cketti.library.changelog.ChangeLog; //导入依赖的package包/类
@Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        //Making Live map as default.
        currentMapType = AppConstants.MapType.LIVE;

        if (savedInstanceState != null) {
            // Restore values from saved state
            currentPage = savedInstanceState.getInt(BUNDLE_MAP_ID, 0);
            currentMapType = AppConstants.MapType.values()[savedInstanceState.getInt(BUNDLE_MAP_TYPE, 0)];
        }

        activeDownloadsList = new ConcurrentHashMap<String, Integer>();
//        WeatherApplication.analyticsHandler.trackScreen(getString(R.string.home_page));
        AppRater.app_launched(this);

        changeLogLib = new ChangeLog(this);
        if (changeLogLib.isFirstRun()) {
//            changeLogLib.getLogDialog().show();
            changeLogLib.getFullLogDialog().show();
        }
    }
 
开发者ID:Shahul3D,项目名称:IndiaSatelliteWeather,代码行数:24,代码来源:MainMapActivity.java


示例2: doAfterSuCheckSetup

import de.cketti.library.changelog.ChangeLog; //导入依赖的package包/类
public void doAfterSuCheckSetup() {
    if (serviceEnabled) {
        toggleForceDozeSwitch.setChecked(true);
        textViewStatus.setText(R.string.service_active);
        if (!Utils.isMyServiceRunning(ForceDozeService.class, MainActivity.this)) {
            Log.i(TAG, "Starting ForceDozeService");
            startService(new Intent(this, ForceDozeService.class));
        } else {
            Log.i(TAG, "Service already running");
        }
        if (isSuAvailable) {
            executeCommand("chmod 664 /data/data/com.suyashsrijan.forcedoze/shared_prefs/com.suyashsrijan.forcedoze_preferences.xml");
            executeCommand("chmod 755 /data/data/com.suyashsrijan.forcedoze/shared_prefs");
        }
    } else {
        textViewStatus.setText(R.string.service_inactive);
        Log.i(TAG, "Service not enabled");
    }
    ChangeLog cl = new ChangeLog(this);
    if (cl.isFirstRun()) {
        cl.getFullLogDialog().show();
    } else {
        if (showDonateDevDialog) {
            showDonateDevDialog();
        }
    }
}
 
开发者ID:theblixguy,项目名称:ForceDoze,代码行数:28,代码来源:MainActivity.java


示例3: displayWhatsNew

import de.cketti.library.changelog.ChangeLog; //导入依赖的package包/类
public void displayWhatsNew() {
	MyLog.entry();
	final ChangeLog cl = new ChangeLog(context);
	if (cl.isFirstRun()) {
		cl.getLogDialog().show();
	}
	MyLog.exit();
}
 
开发者ID:Neraud,项目名称:PADListener,代码行数:9,代码来源:ChangeLogHelper.java


示例4: onPreferenceClick

import de.cketti.library.changelog.ChangeLog; //导入依赖的package包/类
@Override
public boolean onPreferenceClick(Preference preference) {
    ChangeLog cl = new ChangeLog(parent);
    cl.getFullLogDialog().show();

    return true;
}
 
开发者ID:denisk20,项目名称:bullshit-bingo-champion,代码行数:8,代码来源:PreferencesFragment.java


示例5: onCreate

import de.cketti.library.changelog.ChangeLog; //导入依赖的package包/类
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    isTopLevel = false;

    // Display changelog on first run after update
    ChangeLog cl = new ChangeLog(this);
    if (cl.isFirstRun()) {
        cl.getLogDialog().show();
    }

    // Handler to implement drawer delay and runnable
    mHandler = new Handler();
}
 
开发者ID:kamegami13,项目名称:MonsterHunter4UDatabase,代码行数:16,代码来源:GenericActionBarActivity.java


示例6: onCreate

import de.cketti.library.changelog.ChangeLog; //导入依赖的package包/类
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    if (UpgradeDatabases.actionUpgradeDatabases(this, getIntent())) {
        finish();
        return;
    }

    mActionBarProgressView = getLayoutInflater().inflate(R.layout.actionbar_indeterminate_progress_actionview, null);
    mActionBar = getSupportActionBar();
    initializeActionBar();
    setContentView(R.layout.folder_list);
    mListView = getListView();
    mListView.setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY);
    mListView.setLongClickable(true);
    mListView.setFastScrollEnabled(true);
    mListView.setScrollingCacheEnabled(false);
    mListView.setOnItemClickListener(new OnItemClickListener() {
        public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
            onOpenFolder(((FolderInfoHolder)mAdapter.getItem(position)).name);
        }
    });
    registerForContextMenu(mListView);

    mListView.setSaveEnabled(true);

    mInflater = getLayoutInflater();

    onNewIntent(getIntent());

    context = this;

    ChangeLog cl = new ChangeLog(this);
    if (cl.isFirstRun()) {
        cl.getLogDialog().show();
    }
}
 
开发者ID:thialfihar,项目名称:k-9,代码行数:39,代码来源:FolderList.java


示例7: onCreate

import de.cketti.library.changelog.ChangeLog; //导入依赖的package包/类
@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);

    ChangeLog cl = new ChangeLog(this);
    if (cl.isFirstRun()) {
        cl.getLogDialog().show();
    }
}
 
开发者ID:cketti,项目名称:ckChangeLog,代码行数:11,代码来源:MainActivity.java


示例8: onOptionsItemSelected

import de.cketti.library.changelog.ChangeLog; //导入依赖的package包/类
@Override
public boolean onOptionsItemSelected(MenuItem item) {
    switch (item.getItemId()) {
        case R.id.menu_whats_new: {
            new DarkThemeChangeLog(this).getLogDialog().show();
            break;
        }
        case R.id.menu_full_changelog: {
            new ChangeLog(this).getFullLogDialog().show();
            break;
        }
    }

    return true;
}
 
开发者ID:cketti,项目名称:ckChangeLog,代码行数:16,代码来源:MainActivity.java


示例9: setUp

import de.cketti.library.changelog.ChangeLog; //导入依赖的package包/类
@Override
public void setUp() throws Exception {
    super.setUp();

    System.setProperty("dexmaker.dexcache", getContext().getCacheDir().getPath());

    _mockChangeLog = mock(ChangeLog.class);
}
 
开发者ID:team-mount-ventoux,项目名称:JayPS-AndroidApp,代码行数:9,代码来源:CLChangeLogTest.java


示例10: onCreate

import de.cketti.library.changelog.ChangeLog; //导入依赖的package包/类
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    if (UpgradeDatabases.actionUpgradeDatabases(this, getIntent())) {
        finish();
        return;
    }

    mActionBarProgressView = getActionBarProgressView();
    mActionBar = getActionBar();
    initializeActionBar();
    setContentView(R.layout.folder_list);
    mListView = getListView();
    mListView.setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY);
    mListView.setLongClickable(true);
    mListView.setFastScrollEnabled(true);
    mListView.setScrollingCacheEnabled(false);
    mListView.setOnItemClickListener(new OnItemClickListener() {
        public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
            onOpenFolder(((FolderInfoHolder)parent.getItemAtPosition(position)).id);
        }
    });
    registerForContextMenu(mListView);

    mListView.setSaveEnabled(true);

    mInflater = getLayoutInflater();

    context = this;

    onNewIntent(getIntent());
    if (isFinishing()) {
        /*
         * onNewIntent() may call finish(), but execution will still continue here.
         * We return now because we don't want to display the changelog which can
         * result in a leaked window error.
         */
        return;
    }

    ChangeLog cl = new ChangeLog(this);
    if (cl.isFirstRun()) {
        cl.getLogDialog().show();
    }
}
 
开发者ID:philipwhiuk,项目名称:q-mail,代码行数:47,代码来源:FolderList.java


示例11: onCreate

import de.cketti.library.changelog.ChangeLog; //导入依赖的package包/类
@Override
public void onCreate(Bundle icicle) {
    super.onCreate(icicle);

    if (!QMail.isHideSpecialAccounts()) {
        createSpecialAccounts();
    }

    List<Account> accounts = Preferences.getPreferences(this).getAccounts();
    Intent intent = getIntent();
    //onNewIntent(intent);

    // see if we should show the welcome message
    if (ACTION_IMPORT_SETTINGS.equals(intent.getAction())) {
        onImport();
    } else if (accounts.size() < 1) {
        WelcomeMessage.showWelcomeMessage(this);
        finish();
        return;
    }

    if (UpgradeDatabases.actionUpgradeDatabases(this, intent)) {
        finish();
        return;
    }

    boolean startup = intent.getBooleanExtra(EXTRA_STARTUP, true);
    if (startup && QMail.startIntegratedInbox() && !QMail.isHideSpecialAccounts()) {
        onOpenAccount(mUnifiedInboxAccount);
        finish();
        return;
    } else if (startup && accounts.size() == 1 && onOpenAccount(accounts.get(0))) {
        finish();
        return;
    }

    requestWindowFeature(Window.FEATURE_PROGRESS);
    mActionBar = getActionBar();
    initializeActionBar();
    setContentView(R.layout.accounts);
    ListView listView = getListView();
    listView.setOnItemClickListener(this);
    listView.setItemsCanFocus(false);
    listView.setScrollingCacheEnabled(false);
    registerForContextMenu(listView);


    if (icicle != null && icicle.containsKey(SELECTED_CONTEXT_ACCOUNT)) {
        String accountUuid = icicle.getString("selectedContextAccount");
        mSelectedContextAccount = Preferences.getPreferences(this).getAccount(accountUuid);
    }

    restoreAccountStats(icicle);
    mHandler.setViewTitle();

    // Handle activity restarts because of a configuration change (e.g. rotating the screen)
    mNonConfigurationInstance = (NonConfigurationInstance) getLastNonConfigurationInstance();
    if (mNonConfigurationInstance != null) {
        mNonConfigurationInstance.restore(this);
    }

    ChangeLog cl = new ChangeLog(this);
    if (cl.isFirstRun()) {
        cl.getLogDialog().show();
    }
}
 
开发者ID:philipwhiuk,项目名称:q-mail,代码行数:67,代码来源:Accounts.java


示例12: onCreate

import de.cketti.library.changelog.ChangeLog; //导入依赖的package包/类
@Override
protected void onCreate(Bundle savedInstanceState) {

    // We need Cookie & Session support for the SetupHelper
    CookieHandler.setDefault(new CookieManager());

    urlmanager = new UrlManager(this);

    // Needed at every entrypoint to the App
    PreferenceManager.setDefaultValues(this, R.xml.main_settings, false);


    // At this point we check, whether the App is running the first time
    // by looking for our shared preferences
    SharedPreferences sharedPref = PreferenceManager.getDefaultSharedPreferences(this);
    boolean firstStart = sharedPref.getBoolean("first_start", false);

    // Since false is Default we start the SetupActivity if firstStart = false
    if(firstStart == false){
        Intent setupIntent = new Intent(this, SetupActivity.class);
        startActivity(setupIntent);
        finish();

    }

    // Setting up the Layout
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);

    // Setting up the Toolbar
    Toolbar mainToolbar = (Toolbar) findViewById(R.id.main_toolbar);
    setSupportActionBar(mainToolbar);

    // Preparing Fragment
    FragmentTransaction transaction = getFragmentManager().beginTransaction();

    // MainFragment is the start screen
    MainFragment mainFragment = new MainFragment();

    // The Bundle is needed for passing on error messages to MainFragment
    Bundle mainFragmentBundle = new Bundle();

    // Retrieving possible error messages from the Intent
    Intent intent = getIntent();
    originalUrl = intent.getStringExtra(DisplayShortenedUrlActivity.EXTRA_MESSAGE);
    errorMessage = intent.getStringExtra(DisplayShortenedUrlActivity.ERROR_MESSAGE);

    // If an error occurred in in DisplayShortenedUrlActivity they are passed on to MainFragment
    if (intent.getBooleanExtra(DisplayShortenedUrlActivity.ERROR_BOOL, false)) {
        mainFragmentBundle.putBoolean("error", true);
        mainFragmentBundle.putString("errorMessage", errorMessage);
        mainFragmentBundle.putString("originalUrl", originalUrl);
    }

    mainFragment.setArguments(mainFragmentBundle);

    // Finally MainFragment is added to the main container
    transaction.replace(R.id.fragment_container, mainFragment);
    transaction.commit();

    // Show the Changelog if a new Version is installed
    ChangeLog cl = new ChangeLog(this);
    if (cl.isFirstRun()) {
        cl.getLogDialog().show();
    }

}
 
开发者ID:michaelachmann,项目名称:LnkShortener,代码行数:68,代码来源:MainActivity.java


示例13: onCreate

import de.cketti.library.changelog.ChangeLog; //导入依赖的package包/类
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    if (UpgradeDatabases.actionUpgradeDatabases(this, getIntent())) {
        finish();
        return;
    }

    mActionBarProgressView = getActionBarProgressView();
    mActionBar = getActionBar();
    initializeActionBar();
    setContentView(R.layout.folder_list);
    mListView = getListView();
    mListView.setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY);
    mListView.setLongClickable(true);
    mListView.setFastScrollEnabled(true);
    mListView.setScrollingCacheEnabled(false);
    mListView.setOnItemClickListener(new OnItemClickListener() {
        public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
            onOpenFolder(((FolderInfoHolder)mAdapter.getItem(position)).name);
        }
    });
    registerForContextMenu(mListView);

    mListView.setSaveEnabled(true);

    mInflater = getLayoutInflater();

    context = this;

    onNewIntent(getIntent());
    if (isFinishing()) {
        /*
         * onNewIntent() may call finish(), but execution will still continue here.
         * We return now because we don't want to display the changelog which can
         * result in a leaked window error.
         */
        return;
    }

    ChangeLog cl = new ChangeLog(this);
    if (cl.isFirstRun()) {
        cl.getLogDialog().show();
    }
}
 
开发者ID:scoute-dich,项目名称:K9-MailClient,代码行数:47,代码来源:FolderList.java


示例14: onCreate

import de.cketti.library.changelog.ChangeLog; //导入依赖的package包/类
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    if (UpgradeDatabases.actionUpgradeDatabases(this, getIntent())) {
        finish();
        return;
    }

    if (useSplitView()) {
        setContentView(R.layout.split_message_list);
    } else {
        setContentView(R.layout.message_list);
        mViewSwitcher = (ViewSwitcher) findViewById(R.id.container);
        mViewSwitcher.setFirstInAnimation(AnimationUtils.loadAnimation(this, R.anim.slide_in_left));
        mViewSwitcher.setFirstOutAnimation(AnimationUtils.loadAnimation(this, R.anim.slide_out_right));
        mViewSwitcher.setSecondInAnimation(AnimationUtils.loadAnimation(this, R.anim.slide_in_right));
        mViewSwitcher.setSecondOutAnimation(AnimationUtils.loadAnimation(this, R.anim.slide_out_left));
        mViewSwitcher.setOnSwitchCompleteListener(this);
    }

    initializeActionBar();

    // Enable gesture detection for MessageLists
    setupGestureDetector(this);

    if (!decodeExtras(getIntent())) {
        return;
    }

    findFragments();
    initializeDisplayMode(savedInstanceState);
    initializeLayout();
    initializeFragments();
    displayViews();

    ChangeLog cl = new ChangeLog(this);
    if (cl.isFirstRun()) {
        cl.getLogDialog().show();
    }
}
 
开发者ID:scoute-dich,项目名称:K9-MailClient,代码行数:42,代码来源:MessageList.java


示例15: onCreate

import de.cketti.library.changelog.ChangeLog; //导入依赖的package包/类
@Override
public void onCreate(Bundle icicle) {
    super.onCreate(icicle);

    if (!K9.isHideSpecialAccounts()) {
        createSpecialAccounts();
    }

    List<Account> accounts = Preferences.getPreferences(this).getAccounts();
    Intent intent = getIntent();
    //onNewIntent(intent);

    // see if we should show the welcome message
    if (ACTION_IMPORT_SETTINGS.equals(intent.getAction())) {
        onImport();
    } else if (accounts.size() < 1) {
        WelcomeMessage.showWelcomeMessage(this);
        finish();
        return;
    }

    if (UpgradeDatabases.actionUpgradeDatabases(this, intent)) {
        finish();
        return;
    }

    boolean startup = intent.getBooleanExtra(EXTRA_STARTUP, true);
    if (startup && K9.startIntegratedInbox() && !K9.isHideSpecialAccounts()) {
        onOpenAccount(mUnifiedInboxAccount);
        finish();
        return;
    } else if (startup && accounts.size() == 1 && onOpenAccount(accounts.get(0))) {
        finish();
        return;
    }

    requestWindowFeature(Window.FEATURE_PROGRESS);
    mActionBar = getActionBar();
    initializeActionBar();
    setContentView(R.layout.accounts);
    ListView listView = getListView();
    listView.setOnItemClickListener(this);
    listView.setItemsCanFocus(false);
    listView.setScrollingCacheEnabled(false);
    registerForContextMenu(listView);


    if (icicle != null && icicle.containsKey(SELECTED_CONTEXT_ACCOUNT)) {
        String accountUuid = icicle.getString("selectedContextAccount");
        mSelectedContextAccount = Preferences.getPreferences(this).getAccount(accountUuid);
    }

    restoreAccountStats(icicle);
    mHandler.setViewTitle();

    // Handle activity restarts because of a configuration change (e.g. rotating the screen)
    mNonConfigurationInstance = (NonConfigurationInstance) getLastNonConfigurationInstance();
    if (mNonConfigurationInstance != null) {
        mNonConfigurationInstance.restore(this);
    }

    ChangeLog cl = new ChangeLog(this);
    if (cl.isFirstRun()) {
        cl.getLogDialog().show();
    }
}
 
开发者ID:scoute-dich,项目名称:K9-MailClient,代码行数:67,代码来源:Accounts.java


示例16: run

import de.cketti.library.changelog.ChangeLog; //导入依赖的package包/类
@Override
public void run(List<String> args, Context context) {
    ChangeLog cl = new ChangeLog(context);
    cl.getFullLogDialog().show();
}
 
开发者ID:felixwiemuth,项目名称:LinCal,代码行数:6,代码来源:DisplayChangeLog.java


示例17: onCreate

import de.cketti.library.changelog.ChangeLog; //导入依赖的package包/类
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    if (UpgradeDatabases.actionUpgradeDatabases(this, getIntent())) {
        finish();
        return;
    }

    mActionBarProgressView = getLayoutInflater().inflate(R.layout.actionbar_indeterminate_progress_actionview, null);
    mActionBar = getActionBar();
    initializeActionBar();
    setContentView(R.layout.folder_list);
    mListView = getListView();
    mListView.setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY);
    mListView.setLongClickable(true);
    mListView.setFastScrollEnabled(true);
    mListView.setScrollingCacheEnabled(false);
    mListView.setOnItemClickListener(new OnItemClickListener() {
        public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
            onOpenFolder(((FolderInfoHolder)mAdapter.getItem(position)).name);
        }
    });
    registerForContextMenu(mListView);

    mListView.setSaveEnabled(true);

    mInflater = getLayoutInflater();

    context = this;

    onNewIntent(getIntent());
    if (isFinishing()) {
        /*
         * onNewIntent() may call finish(), but execution will still continue here.
         * We return now because we don't want to display the changelog which can
         * result in a leaked window error.
         */
        return;
    }

    ChangeLog cl = new ChangeLog(this);
    if (cl.isFirstRun()) {
        cl.getLogDialog().show();
    }
}
 
开发者ID:daxslab,项目名称:daxSmail,代码行数:47,代码来源:FolderList.java


示例18: onCreate

import de.cketti.library.changelog.ChangeLog; //导入依赖的package包/类
@Override
public void onCreate(Bundle icicle) {
    super.onCreate(icicle);

    if (!K9.isHideSpecialAccounts()) {
        createSpecialAccounts();
    }

    Account[] accounts = Preferences.getPreferences(this).getAccounts();
    Intent intent = getIntent();
    //onNewIntent(intent);

    // see if we should show the welcome message
    if (ACTION_IMPORT_SETTINGS.equals(intent.getAction())) {
        onImport();
    } else if (accounts.length < 1) {
        WelcomeMessage.showWelcomeMessage(this);
        finish();
        return;
    }

    if (UpgradeDatabases.actionUpgradeDatabases(this, intent)) {
        finish();
        return;
    }

    boolean startup = intent.getBooleanExtra(EXTRA_STARTUP, true);
    if (startup && K9.startIntegratedInbox() && !K9.isHideSpecialAccounts()) {
        onOpenAccount(mUnifiedInboxAccount);
        finish();
        return;
    } else if (startup && accounts.length == 1 && onOpenAccount(accounts[0])) {
        finish();
        return;
    }

    requestWindowFeature(Window.FEATURE_PROGRESS);
    mActionBar = getActionBar();
    initializeActionBar();
    setContentView(R.layout.accounts);
    ListView listView = getListView();
    listView.setOnItemClickListener(this);
    listView.setItemsCanFocus(false);
    listView.setScrollingCacheEnabled(false);
    registerForContextMenu(listView);


    if (icicle != null && icicle.containsKey(SELECTED_CONTEXT_ACCOUNT)) {
        String accountUuid = icicle.getString("selectedContextAccount");
        mSelectedContextAccount = Preferences.getPreferences(this).getAccount(accountUuid);
    }

    restoreAccountStats(icicle);
    mHandler.setViewTitle();

    // Handle activity restarts because of a configuration change (e.g. rotating the screen)
    mNonConfigurationInstance = (NonConfigurationInstance) getLastNonConfigurationInstance();
    if (mNonConfigurationInstance != null) {
        mNonConfigurationInstance.restore(this);
    }

    ChangeLog cl = new ChangeLog(this);
    if (cl.isFirstRun()) {
        cl.getLogDialog().show();
    }
}
 
开发者ID:daxslab,项目名称:daxSmail,代码行数:67,代码来源:Accounts.java


示例19: load

import de.cketti.library.changelog.ChangeLog; //导入依赖的package包/类
private void load() {

        fgestos = new GestureSignature();
        fListado = new ListadoFiles();
        setContentView(R.layout.activity_main);

        container2 = (FrameLayout) findViewById(R.id.container2);

        ChangeLog cl = new ChangeLog(this);
        if (cl.isFirstRun()) {
            new BaseActivity.LanzaChangelog(this).getLogDialog().show();
        }

        getSupportFragmentManager().beginTransaction()
                .replace(R.id.container, fgestos, "GESTOS")
                .commit();
        if (container2 != null) {
            getSupportFragmentManager().beginTransaction()
                    .replace(R.id.container2, fListado, "LISTADO")
                    .commit();
        }


        fgestos.SetOnItemClickListener(new GestureSignature.OnListadoClickListener() {
            @Override
            public void onItemClick(View view, String tag) {

                if (tag.equals("SAVE") && (container2 != null)) {
                    fListado.carga();


                } else if (tag.equals("LISTADO")) {
                    getSupportFragmentManager().beginTransaction()
                            .replace(R.id.container, fListado, "LISTADO")
                            .addToBackStack("LISTADO")
                            .commit();

                }
            }
        });
    }
 
开发者ID:rulogarcillan,项目名称:SignatureMaker,代码行数:42,代码来源:MainActivity.java


示例20: showChangeLogDialog

import de.cketti.library.changelog.ChangeLog; //导入依赖的package包/类
public void showChangeLogDialog() {
    final ChangeLog changeLog = new ChangeLog(this);
    if (changeLog.isFirstRun() && !isFinishing()) {
        changeLog.getLogDialog().show();
    }
}
 
开发者ID:johnjohndoe,项目名称:Umweltzone,代码行数:7,代码来源:BaseActivity.java



注:本文中的de.cketti.library.changelog.ChangeLog类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java ChainedResolver类代码示例发布时间:2022-05-21
下一篇:
Java Position类代码示例发布时间:2022-05-21
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap