Closed MathiasSeguy-Android2EE closed 6 years ago
In the ForecastAdapter: private void manageSideVisibility(int position){ Log.e("ForecastArrayAdapter","manage visibility of "+position+" returns isFlipped "+isFlipped.get(position)); if(isFlipped.get(position)){ //the backside is visible viewHolder.getImvBack().setVisibility(View.VISIBLE); viewHolder.getLinRoot().setVisibility(View.GONE); }else{ //the ffront is visible viewHolder.getImvBack().setVisibility(View.GONE); viewHolder.getLinRoot().setVisibility(View.VISIBLE); } }
You have to set the txvUpdating to Visible or Gone
Deprecated
In the ForecastAdapter: private void manageSideVisibility(int position){ Log.e("ForecastArrayAdapter","manage visibility of "+position+" returns isFlipped "+isFlipped.get(position)); if(isFlipped.get(position)){ //the backside is visible viewHolder.getImvBack().setVisibility(View.VISIBLE); viewHolder.getLinRoot().setVisibility(View.GONE); }else{ //the ffront is visible viewHolder.getImvBack().setVisibility(View.GONE); viewHolder.getLinRoot().setVisibility(View.VISIBLE); } }
You have to set the txvUpdating to Visible or Gone