i have an own ImageView, which is declared in via xml
<org.michael.MyView ... />
the class now overrides onDraw to draw some contents. it has also some extending methods to pass arguments from outside. i now want to update the drawing from time to time, but i dont know how. because i dont initialize the class like "MyView mv = new MyView()" i just have the Reference to the ImageView using getViewById. but i need to call mv.setParam(123) for e repaint. any ideas?
For example: when im using the progressbar i can define it in the xml file. when calling
ProgressBar pb = (ProgressBar) findViewById(R.id.progressbar);
the variable pb hast the method setProgress(int).
when using my own view, android does not offer the declared methods needed.