I work on projects that use a lot of different types of lists, so I did this
BaseAdapter someAdapter = new BaseAdapter() {
            @Override
            public int getCount() {
                return 0;
            }
            @Override
            public Object getItem(int position) {
                return null;
            }
            @Override
            public long getItemId(int position) {
                return 0;
            }
            @Override
            public View getView(int position, View convertView, ViewGroup parent) {
                return null;
            }
        };
and do all list-specific changes here; Is this bad practice? I feel like extending a new adapter every time overcomplicates my project files, and this helps me better organize my code. Are there any disadvantages to this approach, i.e. something that could go wrong/ bad code style?
I'm sorry if this question is broad/offtopic. I saw a few other questions asking the general adv./disadv. of anonymous classes, but nothing specific.