MathiasSeguy-Android2EE / ForecastYahooRest

This project aims to show what architecture you should set when requesting a Rest service.
Other
19 stars 2 forks source link

Hide the Updating message when flipped #1

Closed MathiasSeguy-Android2EE closed 6 years ago

MathiasSeguy-Android2EE commented 9 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

MathiasSeguy-Android2EE commented 6 years ago

Deprecated