skip to Main Content

Android Studio – problem with setVisibility when swithching between two ImageView elements in Java

imageView1.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { if(imageViewGet1.getDrawable() != null){ imageView1.setVisibility(View.INVISIBLE); imageViewGet1.setVisibility(View.VISIBLE); } OpenGallery1(); } }); imageView2.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { if(imageViewGet2.getDrawable() != null){ imageView2.setVisibility(View.INVISIBLE); imageViewGet2.setVisibility(View.VISIBLE); } OpenGallery2(); } }); when I run the…

VIEW QUESTION

Android Studio – Github push does not work in android studio

I am trying to push the modification on Github but it is showing me this error: nvocation failed Unexpected end of file from server java.lang.RuntimeException: Invocation failed Unexpected end of file from server at git4idea.GitAppUtil.sendXmlRequest(GitAppUtil.java:30) at git4idea.http.GitAskPassApp.main(GitAskPassApp.java:58) Caused by: java.net.SocketException:…

VIEW QUESTION
Back To Top
Search