MPAndroidChart
MPAndroidChart copied to clipboard
LineChart MarkerView click question
I need to put some views on MarkerView ,including clickable buttons. How could I get the event of views clicked on MarkerView ?
You can see the MyMarkerView class in sample app. Thanks
mv.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Log.v("LineChartActivity","click"); Toast.makeText(getContext(),"click",Toast.LENGTH_LONG).show(); } }); the logcat didn't show the log, also the toast not show