Giter VIP home page Giter VIP logo

Comments (27)

lkorth avatar lkorth commented on July 19, 2024

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.

Bigli avatar Bigli commented on July 19, 2024

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.

lkorth avatar lkorth commented on July 19, 2024

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.

Bigli avatar Bigli commented on July 19, 2024

This is a bug in my idea of ​​12, when I switch to the design.

from pageddragdropgrid.

lkorth avatar lkorth commented on July 19, 2024

So is IntelliJ crashing or just spitting out this error?

from pageddragdropgrid.

Bigli avatar Bigli commented on July 19, 2024

Failure idea

from pageddragdropgrid.

lkorth avatar lkorth commented on July 19, 2024

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.

Bigli avatar Bigli commented on July 19, 2024

You work in a eclips?

from pageddragdropgrid.

lkorth avatar lkorth commented on July 19, 2024

I do, but I tried to replicate your error in IntelliJ and it opened the layout no problem.

from pageddragdropgrid.

Bigli avatar Bigli commented on July 19, 2024

This error can be caused by some sort of dll?

from pageddragdropgrid.

lkorth avatar lkorth commented on July 19, 2024

It's most likely a configuration issue. You might want to try upgrading, the current version is 12.1

from pageddragdropgrid.

Bigli avatar Bigli commented on July 19, 2024

I'm using 2.0.4, and when I import the project, it is an error "No frameworks detected."

from pageddragdropgrid.

lkorth avatar lkorth commented on July 19, 2024

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.

Bigli avatar Bigli commented on July 19, 2024

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.

Bigli avatar Bigli commented on July 19, 2024

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.

lkorth avatar lkorth commented on July 19, 2024

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.

Bigli avatar Bigli commented on July 19, 2024

Thank you very much for your response.

from pageddragdropgrid.

Bigli avatar Bigli commented on July 19, 2024

The question remains open, downloaded all the sdk, all else fails, try a eclips, did not help, somebody help me.

from pageddragdropgrid.

lkorth avatar lkorth commented on July 19, 2024

You may want to try something like StackOverflow as this is only for issues with the library, not your IDE or computer

from pageddragdropgrid.

Bigli avatar Bigli commented on July 19, 2024

I'm just wondering why you have it working, but I have not.

from pageddragdropgrid.

lkorth avatar lkorth commented on July 19, 2024

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.

Bigli avatar Bigli commented on July 19, 2024

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.

lkorth avatar lkorth commented on July 19, 2024

What is the problem exactly?

from pageddragdropgrid.

Bigli avatar Bigli commented on July 19, 2024

In xml does not open in Design Editor, But the program works fine.

from pageddragdropgrid.

lkorth avatar lkorth commented on July 19, 2024

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.

lkorth avatar lkorth commented on July 19, 2024

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.

Bigli avatar Bigli commented on July 19, 2024

Thank you so much, it helped me!

from pageddragdropgrid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.