Code example for ViewGroup

Methods: getChildCount

    public Location getCurrentLocation() {
        return currentLocation;
    public int getLocationCount() { 
        return viewGroup.getChildCount();
    // If location is still to be determined, show a "wait for location" dialog 
    protected Dialog onCreateDialog(int id) {
        if (id == {
            return IgnitedLocationSupport.createWaitForLocationDialog(this);
        } else if (id == {
            return IgnitedLocationSupport.createNoProvidersEnabledDialog(this, true).create();
        return super.onCreateDialog(id);
Stop searching for code, let great code find you!  Add Codota to your java IDE