Comments (6)
That will do, Thanks 👍
from kformmaster.
Which version are you using? The library I am using had that issue before I added View States.
from kformmaster.
I'm using 2.1.0
Found that when we call setItemViewCacheSize(Tag.values().size)
to RecyclerView helped
from kformmaster.
https://android.jlelse.eu/anatomy-of-recyclerview-part-1-a-search-for-a-viewholder-404ba3453714
I found this article so that I can understand how the RecyclerView cache works. Would you suggest that I set the cache size after the form elements are added?
from kformmaster.
For a reasonable form field size (say 20 or 30) it would be fine though, but 100 fields could eat a lot of memory & defeats purpose of "recycling views" recyclerview.
IMO, it's OK, since this library is for Form making, not really about list / recycling view.
I mean, it will be a great workaround
from kformmaster.
I have added cacheForm to the FormBuildHelper class in version 2.1.1. You can set it in the constructor. By default it is false. Let me know if it works the same way you are using setItemViewCacheSize(Tag.values().size).
from kformmaster.
Related Issues (20)
- ucrop sub-dependency 2.2.4 no longer exists HOT 1
- Header & Label background color HOT 3
- How to update height of segmented Button HOT 9
- upgrade RendererRecyclerViewAdapter dependency HOT 1
- Crash HOT 2
- Request: Allow to set the focus on an element HOT 2
- Use ListAdapter/notifyItem*Changed instead of notifyDataSetChanged HOT 2
- Recommendation for usage
- Build failed: Duplicate key: (row=string, column=action_cancel) HOT 4
- Segment appears on new line and does not return proper values HOT 3
- Not firing onValueChanged on FormSegmentedElement HOT 2
- displayValueFor in FormPickerMultiCheckBoxElement HOT 3
- Migrate to Maven Central HOT 13
- Multiline Editext Scroll
- Can't able to access that FormBuilderHelper's listener variable. HOT 2
- Not working with latest version of Dhaval2404/ImagePicker HOT 1
- Setting FormButtonElement margin in FormBuilder init has no effect HOT 2
- Error in jitpack HOT 2
- findViewById(R.id.chatRecyclerView) must not be null
- MultiLineEditTextElement PickerDropDownElement doesn't work correctly with multi line
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 kformmaster.