Category : view

Recently I got an error that I cannot solve despite having everything needed in my gradle and imports. I tried restarting the app, rerunning it and changing the imports but nothing changed. Android studio cannot resolve symbol ‘view’, is about the variable. Maybe is something that I missed. I don’t know. Here are the imports ..

Read more

I’ve got a SettingsFragment with a SwitchPreferenceCompat-Control <SwitchPreferenceCompat app:key="my_key" app:title="@string/prefs_my_title" /> I’m using https://github.com/worker8/TourGuide and want to lead the user through the necessary settings – how can I get a handle (must be a view) on my switch to pass it to Tourgide? I already tried to get a handle by <SwitchPreferenceCompat android:id="@+id/myId" app:key="my_key" app:title="@string/prefs_my_title" ..

Read more