Added getViewGroup function to ViewGroupAdapter.