Java Code Examples for androidx.appcompat.app.AppCompatDelegate#create()

The following examples show how to use androidx.appcompat.app.AppCompatDelegate#create() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AppCompatPreferenceActivity.java    From MHViewer with Apache License 2.0 5 votes vote down vote up
/**
 * @return The {@link AppCompatDelegate} being used by this Activity.
 */
@NonNull
public AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, this);
    }
    return mDelegate;
}
 
Example 2
Source File: AppCompatPreferenceActivity.java    From EhViewer with Apache License 2.0 5 votes vote down vote up
/**
 * @return The {@link AppCompatDelegate} being used by this Activity.
 */
@NonNull
public AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, this);
    }
    return mDelegate;
}
 
Example 3
Source File: AppCompatPreferenceActivity.java    From trackworktime with GNU General Public License v3.0 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}
 
Example 4
Source File: AppCompatPreferenceActivity.java    From RedReader with GNU General Public License v3.0 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
	if (mDelegate == null) {
		mDelegate = AppCompatDelegate.create(this, null);
	}
	return mDelegate;
}
 
Example 5
Source File: AppCompatPreferenceActivity.java    From kolabnotes-android with GNU Lesser General Public License v3.0 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}
 
Example 6
Source File: AppCompatPreferenceActivity.java    From prayer-times-android with Apache License 2.0 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}
 
Example 7
Source File: AppCompatPreferenceActivity.java    From matlog with GNU General Public License v3.0 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}
 
Example 8
Source File: AppCompatPreferenceActivity.java    From simpletask-android with GNU General Public License v3.0 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}
 
Example 9
Source File: AppCompatPreferenceActivity.java    From GradleRecipesForAndroid with MIT License 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}
 
Example 10
Source File: AppCompatPreferenceActivity.java    From privacy-friendly-interval-timer with GNU General Public License v3.0 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}
 
Example 11
Source File: AppCompatPreferenceActivity.java    From Weather with GNU General Public License v3.0 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}
 
Example 12
Source File: AppCompatPreferenceActivity.java    From prayer-times-android with Apache License 2.0 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}
 
Example 13
Source File: AppCompatPreferenceActivity.java    From MaterialPreferenceLibrary with Apache License 2.0 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}
 
Example 14
Source File: AppCompatPreferenceActivity.java    From fastnfitness with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}
 
Example 15
Source File: AppCompatPreferenceActivity.java    From intra42 with Apache License 2.0 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}
 
Example 16
Source File: TestPreferenceActivity.java    From Pocket-Plays-for-Twitch with GNU General Public License v3.0 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
	if (mDelegate == null) {
		mDelegate = AppCompatDelegate.create(this, null);
	}
	return mDelegate;
}
 
Example 17
Source File: AppCompatPreferenceActivity.java    From SecScanQR with GNU General Public License v3.0 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}
 
Example 18
Source File: ThemedAppCompatPreferenceActivity.java    From lrkFM with MIT License 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
    if (delegate == null) {
        delegate = AppCompatDelegate.create(this, null);
    }
    return delegate;
}
 
Example 19
Source File: AppCompatPreferenceActivity.java    From green_android with GNU General Public License v3.0 4 votes vote down vote up
public AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}
 
Example 20
Source File: AppCompatPreferenceActivity.java    From loco-answers with GNU General Public License v3.0 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}