setText Textview from custum imageview
问题 I have an activity which has custom imageView. in imageView, I want to call a method from the activity, and that method wants setText Textview. is it possible? I have done these code but I've encountered an error. MainActivity: package com.example.helloworld; import android.os.Bundle; import android.app.Activity; import android.util.Log; public class MainActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R