update textview in activity from Fragment
In kotlin
val textview = activity!!.findViewById<View>(R.id.textView) as TextView
textview.text = "your_text"
Just do this.
TextView textview = (TextView)getActivity().findViewById(R.id.yourtextview);
textview.setText("text");
You can call it like this:
Replace:
new menufeedActivity().setQountText(getCount);
With:
((menufeedActivity) getActivity()).setCountText(getCount);