Note that there are some explanatory texts on larger screens.

plurals
  1. POAndroid flipview adapter count is not increasing
    text
    copied!<p>I have an issue in <code>flipperview</code> animation in android , am using <code>flipperview</code> horizontal view animation, <code>arraylist</code> size is 14 but getview calling only 3 times after that <code>getview()</code> is not calling.</p> <p>The code is:</p> <pre><code>@SuppressLint({ "NewApi", "SetJavaScriptEnabled" }) public class DetailsActivity extends Activity { private FlipViewController flipView; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); flipView = new FlipViewController(this, FlipViewController.HORIZONTAL); flipView.setAdapter(new BaseAdapter() { private WebView mWebview; ProgressDialog progressDialog = null; List&lt;EventUtil&gt; mEventUtil= GlobalValues.getInstance().eventUtils; private int repeatCount = 1; @Override public View getView(int position, View convertView, ViewGroup parent) { View layout = convertView; LayoutInflater inflater= LayoutInflater.from(EventDetailsActivity.this); if (convertView == null) { layout = inflater.inflate(R.layout.pf_fragment_event_desc, null); progressDialog = Constants.getInstance().loadingDialog(getParent()); EventUtil eventDescEntity = mEventUtil.get(position); Log.d("ARRAYSIZE", mEventUtil.size()+""); mWebview = (WebView)layout.findViewById(R.id.event_detail_web_view); mWebview.getSettings().setJavaScriptEnabled(true); getJsonObject(eventDescEntity.getEvent_id(),mWebview); Log.d("POSISSION", position+""); } return layout; } @Override public long getItemId(int position) { return position; } @Override public Object getItem(int position) { return position; } @Override public int getCount() { return mEventUtil.size() * repeatCount; } }); setContentView(flipView); } @Override protected void onResume() { super.onResume(); flipView.onResume(); } @Override protected void onPause() { super.onPause(); flipView.onPause(); } } </code></pre> <p>it's working fine, the problem is when getview count reached to 3 after that getView() method is not calling </p> <pre><code>log position 0 position 1 position 2 </code></pre> <p>count is not increasing plase hlep me.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload