add init method to the productCardAdapter to supply the adapter with url, postdata and filename programatically