Code example for CopyOnWriteArrayList

Methods: clear

0
            visible = false;
        } 
 
        public void init() { 
            new CLog(context, "BronyLiveWallpaper");
            ponies.clear();
            if (paint == null) {
                paint = new Paint();
            } 
 
            if (Build.VERSION.SDK_INT >= 15) {
                setOffsetNotificationsEnabled(true);
            } 
 
            LoadPoniesTask task = new LoadPoniesTask();
            task.execute();
            // 
            Thread t = new Thread(new Runnable() {
                @Override 
                public void run() { 
                    gameLoop();