setMenu method4

Author: PabloBordaCreated Oct 18, 2013Updated Dec 31, 2023

Hello Im using setMenu method to set the view i want to use via resource id. The question is, is there some way to set an Activity instead of a plain layout?

The problem is that I have all logic stuff on the Activity, and needed to pass it to the setMenu calling Activity.

Also the other problem is that both layouts contain a listview with the same ID, that must be @android:id/android:list

Any clues on that ?

Thank you

Source: jfeinstein10/SlidingMenu