I am getting error from the following sentence
public class FirstFragment extends Fragment, AppCompatActivity implements AbsListView.OnScrollListener {
I am not aware of any limit, what could be wrong?
I am getting error from the following sentence
public class FirstFragment extends Fragment, AppCompatActivity implements AbsListView.OnScrollListener {
I am not aware of any limit, what could be wrong?
When you extend a class, you are basically saying "Start with Fragment, then apply my extension functionality over the top." Hence you cannot extend two distinct classes.
When you implement an interface, it is like saying "Add these connections to my class." So you can implement multiple interfaces in one class.