I've implemented a QuickAction menu while using code and tutorial found here.

I've got a ListView which i populate with records from the SQLite DB so when an archive is clicked on the QuickAction menu is displayed. What I'm not sure how you can do is do something around the selected record while using QuickAction products (e.g. update the chosen record within the DB whenever a QuickAction item is chosen).

Here's my QuickAction onclick listener:

quickAction.setOnActionItemClickListener(new QuickAction.OnActionItemClickListener() 
{           
   @Override

   public void onItemClick(QuickAction source, int pos, int actionId) 
   {

      ActionItem actionItem = quickAction.getActionItem(pos);

      if (actionId == VIEW) 
       {
          [view the record]
       } 
       else if (actionId == UPDATE) 
        {
           [update a value in the db]
         } 
       else 
        {
          [do something else to the record]
        } 
    }
  });