How to add tap listener on data point?
问题 I want to a add tap listener on a data point in the graph view in Android Studio . There is a problem in my java code that says: can't resolve method get Activity() in last line of codes. Help me resolve my problem. Here is my code: package com.example.graph; import android.content.Context; import android.graphics.Color; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.widget.Toast; import android.app.Activity; import com.jjoe64.graphview.GraphView;