I'm building an app the captures the data of a listitem by clicking on it. I'm able to pass the MarketID through an intent however I want to pass it using a dialog to change specific data. So how do I .putExtra for a dialog. Thanks
Here's the code
int position = viewHolder.getAdapterPosition();
int marketID = markets.get(position).getMarketID();
FragmentManager fragmentManager = getSupportFragmentManager();
SuperMarketRaterDialog superMarketRaterDialog = new SuperMarketRaterDialog();
superMarketRaterDialog.putExtra("marketID", marketID);
superMarketRaterDialog.show(fragmentManager,"RateMarket");