Accounts AutoComplete

An M-compatible custom AutoCompleteTextView that shows the user's Google accounts as autocomplete suggestions.

Лицензия

Лицензия

Категории

Категории

Auto Библиотеки уровня приложения Code Generators Doma Данные ORM
Группа

Группа

au.com.domain
Идентификатор

Идентификатор

accounts-autocomplete
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

aar
Описание

Описание

Accounts AutoComplete
An M-compatible custom AutoCompleteTextView that shows the user's Google accounts as autocomplete suggestions.
Ссылка на сайт

Ссылка на сайт

https://github.com/DomainGroupOSS/accounts-autocomplete
Система контроля версий

Система контроля версий

https://github.com/DomainGroupOSS/accounts-autocomplete

Скачать accounts-autocomplete

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/au.com.domain/accounts-autocomplete/ -->
<dependency>
    <groupId>au.com.domain</groupId>
    <artifactId>accounts-autocomplete</artifactId>
    <version>1.0.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/au.com.domain/accounts-autocomplete/
implementation 'au.com.domain:accounts-autocomplete:1.0.0'
// https://jarcasting.com/artifacts/au.com.domain/accounts-autocomplete/
implementation ("au.com.domain:accounts-autocomplete:1.0.0")
'au.com.domain:accounts-autocomplete:aar:1.0.0'
<dependency org="au.com.domain" name="accounts-autocomplete" rev="1.0.0">
  <artifact name="accounts-autocomplete" type="aar" />
</dependency>
@Grapes(
@Grab(group='au.com.domain', module='accounts-autocomplete', version='1.0.0')
)
libraryDependencies += "au.com.domain" % "accounts-autocomplete" % "1.0.0"
[au.com.domain/accounts-autocomplete "1.0.0"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
com.android.support » appcompat-v7 jar 24.1.1
com.android.support » design jar 24.1.1
com.google.android.gms » play-services-auth jar 9.2.1

Модули Проекта

Данный проект не имеет модулей.

accounts-autocomplete

An M-compatible custom AutoCompleteTextView that shows the user's Google accounts as autocomplete suggestions.

This widget is based on the GMail behaviour of subtly asking for permissions for autcompleting email addresses.

Before permission is granted:
Allow Suggestions

After permission is granted:
With Suggestions

Usage

compile 'au.com.domain:accounts-autocomplete:1.0.0'

Drop in au.com.domain.AccountsAutoCompleteTextView in your layout:

<au.com.domain.AccountsAutoCompleteTextView
        android:id="@+id/accounts_autocomplete"
        android:layout_width="match_parent"
        android:layout_height="wrap_content" />

and set it up in the Activity:

mAccountsAutoCompleteTextView.setParentActivity(this);

or Fragment:

mAccountsAutoCompleteTextView.setParentFragment(this);

You would then need to override the onRequestPermissionsResult callback:

@Override
public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) {
    mAccountsAutoCompleteTextView.onPermissionResponse(requestCode, permissions, grantResults);
}
au.com.domain

Domain Group OSS

Версии библиотеки

Версия
1.0.0