Click here to Skip to main content
15,891,905 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
when we create custom adapter so inside this class we use a class
like
Java
static class ViewHolder
{
TextView textview;
ImageView imageview;
}


my question is why it static because we create the object of viewholde so if we create it nonstatic then we effect on the code
Posted
Updated 17-Aug-15 20:34pm
v2

1 solution

You already posted this question in the Android forum; please do not crosspost.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900