Comments (4)
Hi @jgutierrez11,
You mean the "header" of the section is clicked like any normal item? If so, you can check the first example, the header is not clickable. You can find the layout for the header here.
In order to add a long press in a view you can use OnLongClickListener, for example, you can use setOnLongClickListener instead of setOnClickListener here.
Cheers
from sectionedrecyclerviewadapter.
Excellent, I just implemented it. And works great.
Another question: How can I make the headers to be Sticky?
Thanks!
from sectionedrecyclerviewadapter.
sticky headers is not currently implemented in the library, but it is on my road map :)
from sectionedrecyclerviewadapter.
Great! Waiting for that feature 👍
from sectionedrecyclerviewadapter.
Related Issues (20)
- Is it possible to support Paging concept introduced in recent year? HOT 6
- Error adding to dependecies HOT 1
- How can I bind the Header view? HOT 1
- How can I get the Section header position? HOT 5
- Suggestion to add example-code on how to use empty-views HOT 2
- OnClick in onBindItemViewHolder does not work HOT 1
- How to get header position? HOT 1
- swipe to delete... HOT 3
- Design suggestion based on the following use case HOT 1
- Is using Section as HashMap key a good design? HOT 5
- Can we have SectionedRecyclerViewAdapter.getSectionItemViewTypeForAdapterViewType as static method? HOT 2
- Optimize onCreateViewHolder
- removeAllSections HOT 2
- How can I get position group of recyclerview? HOT 2
- FirstVisibleItem not change after I use notifyDataSetChange
- Collapse when section when open new one
- Is there a way to set section background,like a cardview style
- how to Expand first item by default ?
- New versions changelog addition. HOT 1
- How Section Support ItemTouchHelper for drag & drop DataItem
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sectionedrecyclerviewadapter.