I try my hardest to develop a clever way to clean out piles of Blah blah = (Blah) this.findViewById(R.id.blah)
that otherwise pollute the field and the onCreate() method of my little Activity, and to do so, I feel I should not use setContentView() but getViewInflate().inflate() for every View defined in XMLs.
Is Activity.setContentView()
is sorta a syntax sugar and it's virtually repeating getViewInflate().inflate()
for every View on XML? I read something saying as if they were the same.
If I can get an answer by looking into the code, please tell so. I checked Activity.class, but only comments were found.