skip to Main Content

Android Studio – Static class and setOnClicklistener with java

I want to execute a search command this way but indicate error, any other way to modify this ```public class UserActivity extends AppCompatActivity { private ImageView im; protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.userpage); im = (ImageView) findViewById(R.id.search); im.setOnClickListener(new View.OnClickListener()…

VIEW QUESTION

Android Studio – Android Studio still giving me the warning about anti-virus program impacting my build performance besides adding exceptions

I still get the warning about my anti-virus program impacting my build performance, even though I have added the below exceptions in Avast: C:Androidstudioprojectss* C:Program FilesAndroidAndroid Studio1* C:Program FilesAndroidAndroid Studio2* C:Program FilesJava* C:Sdk5-2019* C:Users[my username].android* C:Users[my username].gradle* C:Users[my username]AppDataLocalGoogleAndroidStudio2021.1* C:Users[my…

VIEW QUESTION
Back To Top
Search