package edu.klnce.sairam_kamalay.klncecentral;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

public class Canteen extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_canteen);
    }
}

@@ -41,16 +41,42 @@
 ntral;%0A%0A
+import android.os.Bundle;%0A
 import a
@@ -135,235 +135,963 @@
 oid.
-os.Bundle;%0A%0Apublic class Canteen extends AppCompatActivity %7B%0A%0A    @Override%0A    protected void onCreate(Bundle savedInstanceState) %7B%0A        super.onCreate(savedInstanceState);%0A        setContentView(R.layout.activity_canteen);
+widget.ArrayAdapter;%0Aimport android.widget.ListView;%0Aimport android.widget.SearchView;%0A%0Apublic class Canteen extends AppCompatActivity %7B%0A    ListView listView;%0A    ArrayAdapter%3CString%3E adapter;%0A%0A    String%5B%5D canteen=%7B%22muta bonda--%5Ct%5Ct price 7rs%22,%0A            %22vada--%5Ct%5Ct price 7rs%22,%0A            %22tea--%5Ct%5Ct price 10rs%22,%0A            %22coffee-- %5Ct%5Ctprice 8rs%22,%0A            %22RoseMilk-- %5Ct%5Ctprice 25rs%22,%0A            %22serbath--%5Ct%5Ct price 15rs%22,%0A            %22egg bread--%5Ct%5Ct price 25rs%22%7D;%0A%0A    @Override%0A    protected void onCreate(Bundle savedInstanceState) %7B%0A        super.onCreate(savedInstanceState);%0A        setContentView(R.layout.activity_canteen);%0A        ListView listView=(ListView)findViewById(R.id.listview);%0A        SearchView searchView=(SearchView)findViewById(R.id.search);%0A        searchView.getQuery();%0A        adapter=new ArrayAdapter%3CString%3E(this,android.R.layout.simple_list_item_activated_1,canteen);%0A        listView.setAdapter(adapter);%0A%0A%0A
 %0A   

update canteen