1 package com.example.widgets; 2 3 import androidx.appcompat.app.AppCompatActivity; 4 import android.os.Bundle; 5 import android.widget.ArrayAdapter; 6 import android.widget.ListView; 7 import android.widget.SearchView; 8 9 import java.util.ArrayList; 10 11 public class SearchViewExample extends AppCompatActivity { 12 13 SearchView searchView; 14 ListView listView; 15 16 @Override 17 protected void onCreate(Bundle savedInstanceState) { 18 super.onCreate(savedInstanceState); 19 setContentView(R.layout.activity_search_view_example); 20 21 searchView=(SearchView)findViewById(R.id.search_view); 22 listView=(ListView)findViewById(R.id.search_listview); 23 24 final ArrayList
All agricultural information,Agricultural resources,Information on pesticides and herbicides,Trees and their types,botanical names common names of trees, Plants and their diseases,Watering methods,irrigation system and their types, greenhouse and their types,plant breeding and their types,vegetables and fruits,fertilizers, Organic farming,organic fruits ,new's, Arts, new information, new equipment information, genetics plant, seed types, Cultivation method ,seed rate, seed variety,plant variety,
Thursday, February 16, 2023
Subscribe to:
Posts (Atom)