Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
A tiny library for displaying skeletons while the content itself is loading
Skelly is a tiny library for displaying skeletons while the content itself is loading. All skeletons are completely synchronized across the whole application no matter how many of them visible on a screen at the moment.
The parameters from above can be set up both in xml-layout and source code.
Just add it to your xml-layout:
<com.dpforge.skelly.SkeletonView
android:id="@+id/skeleton"
android:layout_width="match_parent"
android:layout_height="48dp" />
Keep in mind that SkeletonView
has no size so wrap_content
does not work properly.
Sample project will show you how to use skelly library in you Android application.
SkeletonView
There is an experimental feature called SkeletonLayoutFactory
. It allows you to take any regular layout and replace all views with SkeletonView
. Fully automated!
You can take any xml-layout and turn it into skeleton-layout:
SkeletonLayoutFactory.Default.inflateFrom(
context = this,
layoutId = R.layout.avatar_title_subtitle,
parent = container,
attachToRoot = true
)
For more information please have a look at factory sample.
Add the following dependency to your build.gradle
script:
dependencies {
implementation 'com.dpforge:skelly:1.0.1'
}
Copyright (c) 2021 Daniil Popov
Licensed under the MIT License.
FAQs
A tiny library for displaying skeletons while the content itself is loading
We found that com.dpforge:skelly 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.