Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    GuyDviri
    @GuyDviri
    Error:(154, 39) error: constructor SimpleAdapter in class SimpleAdapter cannot be applied to given types;
    required: Context,List<? extends Map<String,?>>,int,String[],int[]
    found: Context,boolean
    reason: actual and formal argument lists differ in length
    this is the error
    do you have any apk of the Dialog Plus to run on my phone?
    Orhan Obut
    @orhanobut
    the error seems not related to dialogplus
    SimpleAdapter requires
    public SimpleAdapter(Context context, List<? extends Map<String, ?>> data,
    int resource, String[] from, int[] to)
    that’s why you get a compile error
    GuyDviri
    @GuyDviri
    yes , just copy it from the debug log
    Orhan Obut
    @orhanobut
    is it for testing to see dialog plus or you really need simpleadapter?
    you can try ArrayAdapter
    GuyDviri
    @GuyDviri
    no for now ..
    without the adapter it's don't compile
    Orhan Obut
    @orhanobut
    you need to pass correct parameters to the simple adapter
    GuyDviri
    @GuyDviri
    i plan to use this dialog for future tasks, like let the use pick 3 state out of a list do you think i can do it with yours dialog
    what the correct parameters for simple info dialog with one button
    Orhan Obut
    @orhanobut
    basically you want to have 3 button in dialog right?
    list with 3 items
    if that so, just use ArrayAdapter
    and use
    it will be ok
    or if you want shiny/different style, you need to create your own adapter
    Stefan Wegener
    @StefanWegener
    Hi. First of all, great work. Is there any option to disable the selection highlight? I want a Dialog without the possibility to click on the items.
    Stefan Wegener
    @StefanWegener
    Another question :) Is ist possible to enable scrolling when adapt has to many items?
    Orhan Obut
    @orhanobut
    hey, thanks. Hmm for the first question, you can actuall use customview in that case, for the listview and gridview, there is no option to disable selection unfortunately . Second question: if it is listview or gridview, there will be automatically scrolling
    but to answer all, you can create a customview and put a listview (which you disable everything), then you can use it in your case
    Stefan Wegener
    @StefanWegener
    ok cool. thx for the fast answer :)
    Orhan Obut
    @orhanobut
    you’re welcome :)
    David AG
    @siempredelao
    Hi! I'm trying to add the library to gradle but it throws an error.
    Failed to resolve: com.orhanobut:dialogplus.1.6

    I've added this in my gradle

    compile 'com.orhanobut:dialogplus:1.6@aar'

    Any guess what can happen? I know it's to few information :(
    David AG
    @siempredelao
    No ideas?
    Orhan Obut
    @orhanobut
    that should work out of box. can you try 1.5 version first?
    daividssilverio
    @daividssilverio
    Hi there, I'm having a little problem with the show method! For some reason, the isShowing returns true after the dialog has been dismissed. Giving a little more context. I'm setting up a onclicklistener on a viewholder on a RecyclerView that creates a new custom View to use inside a dialogplus.ViewHolder. It works fine until the recyclerview.viewholder is recycled. After that, the isShowing returns true when the dialog is not showing.
    daividssilverio
    @daividssilverio
    oh... never mind... i was accessing the view outside the main thread...
    Orhan Obut
    @orhanobut
    sorry for the late reply, I was quite busy nowadays
    glad that the problem is solved though
    David AG
    @siempredelao
    Hi! Everything seems to be ok, I guess it was a problem with AS, I moved back to 1.1.0 and it worked fine :smile: thanks!
    Orhan Obut
    @orhanobut
    hey, that’s good but also bad, you will miss new features/fixes then.
    Stefan Wegener
    @StefanWegener
    hi there, has the framework any option to fade the grey background. when the dialog comes up the background appears immediately.
    For my opinion it will looks better when the background fades in and out.
    Orhan Obut
    @orhanobut
    There is no option actually for this but would be nice to have a very flexible library. We can create an issue and help for a contribition or if you can, I’d be happy to have it
    Stefan Wegener
    @StefanWegener
    ok i will clone your repo and try to implement this feature. when its ready i send you a pull request. :)
    Orhan Obut
    @orhanobut
    that would be perfect
    cheers
    zzzz6663
    @zzzz6663
    hello i am beginner and i am going to make a simple music player on dialog plus ...can you tutorial me how>
    it has only three button (play and pause and ff)
    SumedhaVats
    @SumedhaVats
    hey
    how can i implement fixed header in dialog plus
    i am not getthing any option for fixed header
    let me know
    how to locally ingetrate this as a module