Comments (6)
Same problem here. I copied theese 2 files into my drawable folder but nothing changed...
from horizontalvariablelistview.
it's because it uses reflection on the resources for some reason. Even Lint warned me that the drawable resources don't seem to be used.
the library should either use the drawables it has, or have it being optional.
however, even after fixing this error, there are other errors ...
EDIT:
ok, in order to fix the editor errors, do the following:
for "EdgeEffect.java" CTOR, use the lines:
mEdge = res.getDrawable(R.drawable.hlv_overscroll_edge);
mGlow = res.getDrawable(R.drawable.hlv_overscroll_glow);
instead of the code of reflections.
for "AbsHListView.java" , in setOverscrollMode, use the next condition instead of the original one:
if ( mode != OVER_SCROLL_NEVER &&!isInEditMode()) {
for "AdapterView.java" CTOR , add:
if (!isInEditMode())
mAccessibilityManager = (AccessibilityManager) getContext().getSystemService(Context.ACCESSIBILITY_SERVICE);
from horizontalvariablelistview.
Any chance to get this in? It'd be much nicer to be able to use in Android Studio. I can try to do what @AndroidDeveloperLB said as a pull request, but I'm not sure if/how that will get included into a release?
from horizontalvariablelistview.
@lassic it's not just on android-studio. eclipse has warnings and issues about it too, so i've read them and found the reasons.
i wish all people would check Lint and other Java warnings from time to time.
from horizontalvariablelistview.
@AndroidDeveloperLB I hear ya. Any chance you can make a pull request with your fixes?
from horizontalvariablelistview.
@lassic i don't know how to do it. i never did it before.
from horizontalvariablelistview.
Related Issues (20)
- How to change default color(yellow) when press item HOT 1
- StackoverflowError on Android 2 HOT 3
- change the touch background color of HListView HOT 1
- Item width not being handled accurately HOT 2
- two listview in one layout Don't call SlideMenuClickListener
- I want to the focus on the last item view when switched by KEYCODE_DPAD_RIGHT on TV?
- Can HorizontalListView work with Espresso?
- FloatMath.sqrt has been removed from Android SDK 23 HOT 4
- setSelection method is not working
- setItemsCanFocus is not work
- Proguard required HOT 1
- Grade Line
- Implementing Onitemclicklistener
- Array Index of Bound Exception when trying to remove selected position HOT 2
- lock(freeze) the scroll
- Android 8 setOnItemClickListener is not Working when clicked on Image HOT 3
- Feature Request: Migrate to Android X
- Button ClickListener not working Fragment to Fragment
- My App get crashed : NullpointerExcetion
- AbsHListView.smoothScrollToPositionFromLeft does not scroll correctly when position is the next visible item
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 horizontalvariablelistview.