Custom Event Info Renderer

Thread is closed for posting
3 posts, 0 answers
  1. Richard
    Richard avatar
    45 posts
    Member since:
    Jun 2014

    Posted 11 Oct 2016 Link to this post

    Hi --

    I'm starting a new topic regarding customizing the event info renderer. 


    I have this code

    adapter = new ArrayAdapter<>(this, R.layout.popup_event_info_window);


    and I'm getting en error

    Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.telerik.widget.calendar.EventsManager.setAdapter(android.widget.ArrayAdapter)' on a null object reference


    There is no good documentation or any code examples that demonstrate how to do this. Please provide them.


    Thank you



  2. Richard
    Richard avatar
    45 posts
    Member since:
    Jun 2014

    Posted 12 Oct 2016 in reply to Richard Link to this post

    Hey --

    The EventsManager for my CalendarView is always null so I can't use any of the methods.


  3. Todor
    Todor avatar
    798 posts

    Posted 14 Oct 2016 Link to this post

    Hi Richard,

    I have answered to your post regarding similar topic here.

    In addition, the eventsManager is null when you haven't changed the calendar's event display mode (it should be set to inline or popup before you change the adapter).

    I hope this information helps.

    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top