1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-15 13:35:09 -05:00

ServerListAdapter: Added missing java doc

This commit is contained in:
Sebastian Kaspari 2010-09-18 16:31:11 +02:00
parent d447990a35
commit be07e2e0ad

View File

@ -22,6 +22,10 @@ package org.yaaic.adapter;
import java.util.ArrayList; import java.util.ArrayList;
import org.yaaic.R;
import org.yaaic.Yaaic;
import org.yaaic.model.Server;
import android.content.Context; import android.content.Context;
import android.view.LayoutInflater; import android.view.LayoutInflater;
import android.view.View; import android.view.View;
@ -30,10 +34,6 @@ import android.widget.BaseAdapter;
import android.widget.ImageView; import android.widget.ImageView;
import android.widget.TextView; import android.widget.TextView;
import org.yaaic.R;
import org.yaaic.Yaaic;
import org.yaaic.model.Server;
/** /**
* Adapter for server lists * Adapter for server lists
* *
@ -51,6 +51,11 @@ public class ServerListAdapter extends BaseAdapter
loadServers(); loadServers();
} }
/**
* Load servers from database
*
* Delegate call to yaaic instance
*/
public void loadServers() public void loadServers()
{ {
servers = Yaaic.getInstance().getServersAsArrayList(); servers = Yaaic.getInstance().getServersAsArrayList();