What are the advantages of this approach (using static nested class in my class MyAdapter extends RecyclerView.Adapter):
static class MyVH extends RecyclerView.ViewHolder {...}
And this approach (using member inner class):
class MyVH extends RecyclerView.ViewHolder {...}
Or it doesn't affect performance and both approaches could be used?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…