Modifier and Type | Method and Description |
---|---|
static Dagger2.Parameters |
create()
Creates new
Parameters object with default settings. |
static Dagger2.Parameters |
create(boolean useGoogleLocationOldApi,
boolean useSnackbarIsoAlert,
boolean useSnackbarIsoToast)
Creates new
Parameters object. |
static Dagger2.Parameters |
getInstance()
Returns the
Parameters object in use. |
public static Dagger2.Parameters getInstance()
Parameters
object in use.Parameters
objectpublic static Dagger2.Parameters create(boolean useGoogleLocationOldApi, boolean useSnackbarIsoAlert, boolean useSnackbarIsoToast)
Parameters
object.useGoogleLocationOldApi
- true
for GoogleApiClient
-based Google Location API,
false
for FusedLocationProviderClient
-based oneuseSnackbarIsoAlert
- true
for using Snackbar
instead of dialog alertuseSnackbarIsoToast
- true
for using Snackbar
instead of Toast
Parameters
objectpublic static Dagger2.Parameters create()
Parameters
object with default settings.Parameters
object
Copyright © 2015-2017 akha, a.k.a. Alexander Kharitonov
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.