Hey guys the main layout xml file for my activity is R.layout.date_list_layout as it is used as follows
public void onCreate(Bundle savedInstanceState) {
super
As Second TextView is the part of another layout so we have to used
setContentView(R.layout.R.layout.display_item);
So for second TextView Change you code to
setContentView(R.layout.display_item);
TextView currency = (TextView) findViewById(R.layout.display_item/R.id.currency);
currency.setText(cur);