Muhammad al-xorazmiy nomidagi toshkent axborot texnologiyalari universiteti nukus


import android.support.v7.widget.RecyclerView



Download 0,77 Mb.
bet7/10
Sana12.06.2022
Hajmi0,77 Mb.
#658142
1   2   3   4   5   6   7   8   9   10
Bog'liq
104 19 3 kurs Aytmuratov Ruslanbek Paradigma Ruslanbek Aytmuratov

import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.SearchView;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.View;
import android.widget.EditText;


import com.example.tomreaddle.kutubxona.DB.DBHelper;
import com.example.tomreaddle.kutubxona.POJO.Adapter;
import com.example.tomreaddle.kutubxona.POJO.book;


import java.util.List;


public class user extends AppCompatActivity{


RecyclerView booksRecycler;
DBHelper dbHelper;
EditText query , queryDate;
private List list_book , search;
private Adapter adapter;


@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.user);


getBooks();


query = findViewById(R.id.query);
query.addTextChangedListener(new TextWatcher() {
@Override
public void beforeTextChanged(CharSequence s, int start, int count, int after) {


}


@Override
public void onTextChanged(CharSequence s, int start, int before, int count) {
String key = String.valueOf(query.getText());
searchAnswer(key);
}


@Override
public void afterTextChanged(Editable s) {


}
});
queryDate = findViewById(R.id.queryDate);
queryDate.addTextChangedListener(new TextWatcher() {
@Override
public void beforeTextChanged(CharSequence s, int start, int count, int after) {


}



Download 0,77 Mb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6   7   8   9   10




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish