Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
dev.assemblage:extended-auto-complete
Advanced tools
Custom view extending AppCompatAutoCompleteTextView to populate dropdown on view touch.
Custom view extending AppCompatAutoComplete. In the default AutoCompleteTextView/AppCompatAutoComplete the suggestion drop-down only after typing in a couple of letters where as ExtendedAutoCompleteTextView shows the suggestion drop-down only by clicking or on touch.
implementation("dev.assemblage:extended-auto-complete:$sdkVersion")
replace $sdkVersion
with the latest version of the SDK
Declare the view as shown below in the XML file of your activity or fragment.
<dev.assemblage.extendedautocomplete.ExtendedAutoCompleteTextView
android:id="@+id/auto_text_view"
android:layout_width="match_parent"
android:layout_height="48dp"/>
Populate the contents in the dropdown in your Java or Kotlin code as below
ArrayList<String> stringArrayList = new ArrayList<>();
stringArrayList.add("Apple");
stringArrayList.add("Banana");
stringArrayList.add("Cherry");
stringArrayList.add("Dates");
stringArrayList.add("Elderberry");
stringArrayList.add("Fig");
stringArrayList.add("Grapefruit");
ExtendedAutoCompleteTextView extendedAutoCompleteTextView =
(ExtendedAutoCompleteTextView) findViewById(R.id.auto_text_view);
ArrayAdapter<String> adapter =
new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, stringArrayList);
extendedAutoCompleteTextView.setAdapter(adapter);
FAQs
Custom view extending AppCompatAutoCompleteTextView to populate dropdown on view touch.
We found that dev.assemblage:extended-auto-complete demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.