I am having a problem were I have:
class x that extends y
and class y that extends Fragment
I wan to be able to do things in x that for eg get a textview with ID and change the text. To do this, I must get the view but I get problems. I have tried Super.getView, and I have tried to save the view in y and access from x but it does not work.
Why is this?
edit: example code:
public x extends fragment{
}
public y extends x{
public y(){
eg TextView t = this.getView().getById(...)
which will fail as cant get the view
}
}