Unknown Inflate Error With Android
Hi i'm having a problem with my android app. The problem is when i try to set up new view. public View getView(int position, View convertView, ViewGroup parent) { View v =
Solution 1:
Try to replace this line of your code
v = vi.inflate(R.layout.list, null);
by this one:
v = vi.inflate(R.layout.list, parent, false);
Solution 2:
I tried your code and it works fine on my side.
Perhaps doing a clean would help: Project -> Clean -> Select your project -> OK.
Post a Comment for "Unknown Inflate Error With Android"