Comments (27)
Do you run in to the same problem when you run the example app?
In the future please put three back ticks (```) before and after your code segments, it makes it easier to read
from pageddragdropgrid.
Excuse me, in the future I will put ``, the code I have works fine, and the application starts, but the designer swears. I just downloaded the example and opened the idea
from pageddragdropgrid.
So is this an error that is coming from your IDE when you're working on the xml? That's what it looks like based on the stack trace.
at org.jetbrains.android.uipreview.RenderService.createRenderSession (RenderService.java: 127)
at org.jetbrains.android.uipreview.RenderUtil.renderLayout (RenderUtil.java: 151)
at com.intellij.openapi.application.impl.ApplicationImpl $ 6.run (ApplicationImpl.java: 465)
from pageddragdropgrid.
This is a bug in my idea of 12, when I switch to the design.
from pageddragdropgrid.
So is IntelliJ crashing or just spitting out this error?
from pageddragdropgrid.
from pageddragdropgrid.
I don't usually work in IntelliJ, but I just cloned the project and opened it and opened example.xml and everything works fine. You might want to reclone the project and try opening it again.
from pageddragdropgrid.
You work in a eclips?
from pageddragdropgrid.
I do, but I tried to replicate your error in IntelliJ and it opened the layout no problem.
from pageddragdropgrid.
This error can be caused by some sort of dll?
from pageddragdropgrid.
It's most likely a configuration issue. You might want to try upgrading, the current version is 12.1
from pageddragdropgrid.
I'm using 2.0.4, and when I import the project, it is an error "No frameworks detected."
from pageddragdropgrid.
Make sure it's finding your Android SDK and properly detecting the project as an Android project. You may also want to read some of JetBrain's documentation on using their software.
from pageddragdropgrid.
Forgot to mention about the mistake
"colorfilter: Lighting Color Filters are not supported"
perhaps because of her mistake? I re-downloaded, but it did not help.
from pageddragdropgrid.
I also have been a mistake in the code
(""layout.setBackground(context.getResources().getDrawable(R.drawable.list_selector_holo_light));)
I had to comment.
Class ExamplePagedDragDropGridAdapter.
from pageddragdropgrid.
That line is used for onClick background selectors and is optional.
Sorry, but this area is for issues with the library which this is clearly not. Good luck solving your problem.
from pageddragdropgrid.
Thank you very much for your response.
from pageddragdropgrid.
The question remains open, downloaded all the sdk, all else fails, try a eclips, did not help, somebody help me.
from pageddragdropgrid.
You may want to try something like StackOverflow as this is only for issues with the library, not your IDE or computer
from pageddragdropgrid.
I'm just wondering why you have it working, but I have not.
from pageddragdropgrid.
If you use the version of eclipse that comes with the sdk that will eliminate any configuration problems you may have. You should be able to update the sdk and then import the library and it'll work. It's that simple.
from pageddragdropgrid.
I use exactly the sdk on the link you gave, I installed all the updates as well, I put the version 4.2, but the problem still exists.
from pageddragdropgrid.
What is the problem exactly?
from pageddragdropgrid.
In xml does not open in Design Editor, But the program works fine.
from pageddragdropgrid.
The problem you are seeing is because eclipse is trying to create the view for the designer, but the view depends on the adapter. You cannot use the gui designer for the layout that uses this widget.
from pageddragdropgrid.
It looks like it could be solved using the answer to this question
Basically surround the code that cannot be run without the adapter with
if(!isInEditMode()){
//...
}
from pageddragdropgrid.
Thank you so much, it helped me!
from pageddragdropgrid.
Related Issues (20)
- Dynamic add to gridview
- Question: Is there some limit to the amount of views in a page? HOT 1
- Vertical Scrolling
- Vertical Scrolling Problem HOT 1
- Manage max number of children per page
- Get itemId
- long click on item android 4.4 HOT 13
- VerticalScroll HOT 7
- is there a support for manually deleting an item without dragging it to the delete view zone? HOT 2
- notifayDataSetChange
- Adding items dynamically is broken after merging #47 HOT 1
- Horizontal Scroll View as a base layout for Grid
- get Drag Event
- I am not able to update data of grid view HOT 2
- Scrolling issue
- How to get Item in onClickListener
- LongClick then Drop Issue
- My Implementation to move items instead of swap
- Animation when drag item in gridview
- How to Swap item view between pages?
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 pageddragdropgrid.