Skip to content

ListView parent or metadata #131

@tmrobert8

Description

@tmrobert8

Let's say I have a list that is dynamically generated from some source (let's say I have a movie player that allows me to create custom collections of movies and I use the collection name as the high level directory listing):

  • "Collections" (title bar)
  • "Action Movies"
  • "RomCom"
  • "Other"

Assume there is a collection id associated with each collection title and the collection ID is what we are using for our browserId.

When I click on the "Action Movies" (which we will say is collection id 1), I want the following list shown

  • "Action Movies" (title bar)
  • "Top Gun"
  • "Predator"

The issue I have is the title bar on the sublist. Since my browser id is the collection id - I'd need to retrieve the collections to simply get to the title to create the title bar of the sublist.

What would be great instead is to

  1. Have a reference to the parent list item when called back (so we'd have parm.offset, parm.lenght, parm.parent) that would allow me to get the title of the parent.
  2. Or better yet - be able to assign some meta data (generic json object) to each list item and that meta data is reflected back in the parms (parm.meta).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions