Android Open Source - GreenGear View Util






From Project

Back to project page GreenGear.

License

The source code is released under:

MIT License

If you think the Android project GreenGear listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.bradleycurran.greengear.util;
/*from  w w w  . jav  a2  s. c  o  m*/
import android.view.ViewGroup;
import android.widget.Adapter;

public class ViewUtil {

    public static void populateView(ViewGroup viewGroup, Adapter adapter) {
        for (int position = 0; position < adapter.getCount(); position++) {
            viewGroup.addView(adapter.getView(position, null, viewGroup));
        }
    }
}




Java Source Code List

com.bradleycurran.droidprefs.DroidPrefs.java
com.bradleycurran.greengear.model.KeyValue.java
com.bradleycurran.greengear.util.AssetUtil.java
com.bradleycurran.greengear.util.Log.java
com.bradleycurran.greengear.util.ViewUtil.java
com.bradleycurran.velocadapter.ArrayVelocAdapter.java
com.bradleycurran.velocadapter.VelocAdapter.java
com.bradleycurran.velocadapter.ViewBinder.java
com.bradleycurran.viewquery.Operation.java
com.bradleycurran.viewquery.ViewQuery.java
com.bradleycurran.viewquery.animation.hc.BounceTouchListener.java