java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.shopping/com.example.shopping.app.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.example.shopping.view.ImageBarnnerViewGroup.addView(android.view.View)' on a null object reference
说你的addView()方法引用了一个空对象,说明你的ImageBarnnerViewGroup是空
说你的addView()方法引用了一个空对象,说明你的ImageBarnnerViewGroup是空