MultiColumnList | custom list view that has support for columns with items | RecyclerView library
kandi X-RAY | MultiColumnList Summary
kandi X-RAY | MultiColumnList Summary
A custom list view that has support for columns with items of varying heights.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Handle the touch event
- Start a touch event
- End the touch
- Appends an item to the given column
- Initializes the adapter
- Make sure the observer is created
- Set the adapter to use
- Clear all views
- Called when an option item is selected
- Returns the text of the currently selected positions
- Called when the adapter is pressed
- Reloads views
- Read attributes
- Creates the columns
- Returns the index of the first visible position in the column list
MultiColumnList Key Features
MultiColumnList Examples and Code Snippets
Community Discussions
Trending Discussions on MultiColumnList
QUESTION
I want to create a two columns listView with items of varying heights like that: image
I have try this custom class found on GitHub and it was perfect but I have different problems because maybe the class is old (last update: 2014):
- Child Item's images with onClickListener block the custom listView's scrolling
- SwipeRefreshLayout appear always when scroll up (I want only when I am at the top of the list)
[Edit] Solution:
...Proposed by Piyush: StaggeredGridLayoutManager with RecyclerView
ANSWER
Answered 2017-Jun-19 at 11:11Why don't you use a ScrollView instead? So you'll have a parent ScrollView containing just one RelativeLayout. Then you'll place two vertical LinearLayout inside the Relative one in which you are going to place your varying heights cells. Pseudo-code follows:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install MultiColumnList
You can use MultiColumnList like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the MultiColumnList component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page