getSystemServices in a Fragment? Ask Question
By       18-May-2024    1

How i can get getSystemServices in a Fragment ,in android studio 3.0.1

Solutions


Nawab

you can achieve as below.

SearchManager searchManager = (SearchManager)getActivity().getSystemService(Context.SEARCH_SERVICE);

10030
Copyright Future Minutes © 2015- 2024 All Rights Reserved.   Terms of Service  |   Privacy Policy |  Contact US|  Pages|  Whats new?
Update on: Dec 20 2023 05:10 PM