Comments (7)
@EpsilonOrionis are you talking about the StickyFooter
which is available in the MaterialDrawer
this can't be done via a normal RecyclerView
and is out of scope for the FastAdapter
In the MaterialDrawer this is implemented via an additional LinearLayout
at the end of the Drawer
(lowering the size of the RecyclerView) and adding items in it. Those items there have a normal OnClickListener
and in the onClick it will then execute the code.
(The responsible code within the MaterialDrawer
https://github.com/mikepenz/MaterialDrawer/blob/develop/library/src/main/java/com/mikepenz/materialdrawer/DrawerUtils.java#L386)
from fastadapter.
Mike maybe I'm wrong, but i read in the FastAdapter .md that it supports the footer
from fastadapter.
@EpsilonOrionis you can add a footer adapter
footeradapter.wrap(itemadapter.wrap(fastadapter));
footeradapter(new Item());
footer items are added at the bottom of the list.
from fastadapter.
How can I handle the click?
from fastadapter.
from fastadapter.
@EpsilonOrionis that's why I asked if you talk about the StickyFooter
which is different from a normal Footer
The click of an FooterAdapter
item is triggered the same as of normal items
Thanks @FabianTerhorst for answering
from fastadapter.
@EpsilonOrionis Is your question answered? All works fine?
from fastadapter.
Related Issues (20)
- compile error HOT 2
- CreateBinding is being called each time item is being collapsed or expanded. HOT 8
- Setting a Snackbar using UndoHelper's withSnackbar does nothing.
- List is not updating after adapter.set()
- Second added item is blank HOT 6
- SelectExtensions.select() not working when create view HOT 2
- Is there any way to add multiple row? HOT 5
- How made dynamic model list? HOT 6
- Overload resolution ambiguity. All these functions match. HOT 4
- How can I judge the item is the last one in AbstractBindingItem HOT 1
- EventHook + RecycledViewPool HOT 3
- How to get access to function of Item from ViewHolder? HOT 4
- ItemFilter publishResults NPE HOT 1
- FastAdapter intercepting clicks for other ViewPager tabs HOT 1
- <table data-meta="generated_by_danger-pr">
- Drag & drop - animation is broken HOT 1
- could not resolve FastItemAdapter , FooterAdapter, ProgressItem HOT 3
- Weird behavior on scroll with expandable HOT 2
- Runtime layout changes can affect more than one item HOT 5
- Can I Swipe item view then remain it's state then delete button can click HOT 2
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 fastadapter.