New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

org.solovyev.android.views:linear-layout-manager

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

org.solovyev.android.views:linear-layout-manager

Linear Layout Manager which supports WRAP_CONTENT

  • 0.5
  • Source
  • Maven
  • Socket score

Version published
Maintainers
1
Source

Linear Layout Manager

DEPRECATED

RecyclerView supports WRAP_CONTENT starting from Android Support Library 23.2. More details here: http://android-developers.blogspot.se/2016/02/android-support-library-232.html

Description

Implementation of LinearLayoutManager which wraps its contents.

Usage example:

final LinearLayoutManager layoutManager = new org.solovyev.android.views.llm.LinearLayoutManager(this, LinearLayoutManager.VERTICAL, false);
final RecyclerView recyclerView = (RecyclerView) findViewById(R.id.recyclerview);
recyclerView.setLayoutManager(layoutManager);
recyclerView.addItemDecoration(new DividerItemDecoration(this, null));
recyclerView.setAdapter(adapter);

Note that if the child views in your RecyclerView have the fixed size LinearLayoutManager#setChildSize should be used to avoid unnecessary measuring.

Installation

Gradle dependency:

compile 'org.solovyev.android.views:linear-layout-manager:0.5@aar'

Maven dependency:

<dependency>
    <groupId>org.solovyev.android.views</groupId>
    <artifactId>linear-layout-manager</artifactId>
    <version>0.5</version>
    <type>apklib</type>
</dependency>

License

Library is distributed under Apache 2.0 license, see LICENSE.txt

Applications

The following applications use this library:

FAQs

Package last updated on 20 Jul 2015

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc