properly reset search text on viewCategory()
This commit is contained in:
parent
dbf59c0b7d
commit
da564ab804
@ -1568,6 +1568,15 @@ public class MainActivity extends FragmentActivity implements OnlineServices {
|
|||||||
|
|
||||||
m_activeFeed = new Feed(cat.id, cat.title, true);
|
m_activeFeed = new Feed(cat.id, cat.title, true);
|
||||||
|
|
||||||
|
if (m_menu != null) {
|
||||||
|
MenuItem search = m_menu.findItem(R.id.search);
|
||||||
|
|
||||||
|
if (search != null && !m_compatMode) {
|
||||||
|
SearchView sv = (SearchView) search.getActionView();
|
||||||
|
sv.setQuery("", false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
HeadlinesFragment frag = new HeadlinesFragment();
|
HeadlinesFragment frag = new HeadlinesFragment();
|
||||||
|
|
||||||
FragmentTransaction ft = getSupportFragmentManager()
|
FragmentTransaction ft = getSupportFragmentManager()
|
||||||
|
Loading…
Reference in New Issue
Block a user