Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.