Skip to content

Feature/search view#2

Open
zarnigor91 wants to merge 5 commits into
Axrorxoja:masterfrom
zarnigor91:feature/search_view
Open

Feature/search view#2
zarnigor91 wants to merge 5 commits into
Axrorxoja:masterfrom
zarnigor91:feature/search_view

Conversation

@zarnigor91

Copy link
Copy Markdown

No description provided.

protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
initView();

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nega bo'sh joy qoldirib kettiz

private int offset = 0;
private SearchView sv;
private DefinitionDao definitionDao;
private Menu menu;

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

menu object nega kerak

private CompositeDisposable cd;
private WordAdapter adapter;
private int offset = 0;
private SearchView sv;

@Axrorxoja Axrorxoja Apr 20, 2019

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sv bu nega kerak

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adapter.updateData(it);
adapter.updateData(it);
}
private void updateAdapter1(List<Definition> it) {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

funksiyani oti nega bunaqa updateAdapter1()

public void onAction() {
loadData();
}

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bu commentni nega qoldirdiz

notifyItemRangeInserted(oldSize, it.size());
}

public void onSearchUpdate(List<Definition> it) {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

funksiyani oti nega unaqa ikki hil mano beradi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants