This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static String generateCharacterTagByIndex(int index) | |
{ | |
return (Integer.toString(index + 14970)); | |
} | |
class NavigatableEditText extends EditText | |
{ | |
private WeakReference<View> navigationNext = null; | |
private WeakReference<View> navigationPrevious = null; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
////////////////////////////////////////////////////////////////// | |
// | |
// log.php | |
// Log | |
// | |
// Copyright 2012 Gökhan Barış Aker | |
// | |
// Licensed under the Apache License, Version 2.0 (the "License"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
language: objective-c | |
before_script: | |
- ./scripts/travis/add-key.sh | |
after_script: | |
- ./scripts/travis/remove-key.sh | |
after_success: | |
- ./scripts/travis/testflight.sh | |
env: | |
global: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected void onCreate(Bundle savedInstanceState) { | |
if (DEBUG_LIFECYCLE) Slog.v(TAG, "onCreate " + this + ": " + savedInstanceState); | |
if (mLastNonConfigurationInstances != null) { | |
mAllLoaderManagers = mLastNonConfigurationInstances.loaders; | |
} | |
if (mActivityInfo.parentActivityName != null) { | |
if (mActionBar == null) { | |
mEnableDefaultActionBarUp = true; | |
} else { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected void onStart() { | |
if (DEBUG_LIFECYCLE) Slog.v(TAG, "onStart " + this); | |
mCalled = true; | |
if (!mLoadersStarted) { | |
mLoadersStarted = true; | |
if (mLoaderManager != null) { | |
mLoaderManager.doStart(); | |
} else if (!mCheckedForLoaderManager) { | |
mLoaderManager = getLoaderManager("(root)", mLoadersStarted, false); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Called after {@link #onRestoreInstanceState}, {@link #onRestart}, or | |
* {@link #onPause}, for your activity to start interacting with the user. | |
* This is a good place to begin animations, open exclusive-access devices | |
* (such as the camera), etc. | |
* | |
* <p>Keep in mind that onResume is not the best indicator that your activity | |
* is visible to the user; a system window such as the keyguard may be in | |
* front. Use {@link #onWindowFocusChanged} to know for certain that your | |
* activity is visible to the user (for example, to resume a game). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Called after {@link #onStop} when the current activity is being | |
* re-displayed to the user (the user has navigated back to it). It will | |
* be followed by {@link #onStart} and then {@link #onResume}. | |
* | |
* <p>For activities that are using raw {@link Cursor} objects (instead of | |
* creating them through | |
* {@link #managedQuery(android.net.Uri , String[], String, String[], String)}, | |
* this is usually the place | |
* where the cursor should be requeried (because you had deactivated it in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Called as part of the activity lifecycle when an activity is going into | |
* the background, but has not (yet) been killed. The counterpart to | |
* {@link #onResume}. | |
* | |
* <p>When activity B is launched in front of activity A, this callback will | |
* be invoked on A. B will not be created until A's {@link #onPause} returns, | |
* so be sure to not do anything lengthy here. | |
* | |
* <p>This callback is mostly used for saving any persistent state the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Called when you are no longer visible to the user. You will next | |
* receive either {@link #onRestart}, {@link #onDestroy}, or nothing, | |
* depending on later user activity. | |
* | |
* <p>Note that this method may never be called, in low memory situations | |
* where the system does not have enough memory to keep your activity's | |
* process running after its {@link #onPause} method is called. | |
* | |
* <p><em>Derived classes must call through to the super class's |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Perform any final cleanup before an activity is destroyed. This can | |
* happen either because the activity is finishing (someone called | |
* {@link #finish} on it, or because the system is temporarily destroying | |
* this instance of the activity to save space. You can distinguish | |
* between these two scenarios with the {@link #isFinishing} method. | |
* | |
* <p><em>Note: do not count on this method being called as a place for | |
* saving data! For example, if an activity is editing data in a content | |
* provider, those edits should be committed in either {@link #onPause} or |
OlderNewer