Is It Possible To Inflate Two Layouts In Arrayadapter Getview() In Android?
I am trying to show some views based on certain conditions in getView() in Android. This is my code: @Override public View getView(int position, View view, ViewGroup parent) { if (
Solution 1:
If you want your ListView to have different layouts for rows you can find more info here: Android ListView with different layouts for each row
Post a Comment for "Is It Possible To Inflate Two Layouts In Arrayadapter Getview() In Android?"