It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center。
6年前关闭。
我正在使用SlidingMenu作为
6年前关闭。
我正在使用SlidingMenu作为
SlidingFragmentActivity
。这是一个很棒的图书馆,相对容易使用,但是我有一个小问题。我想检测用户何时从ContentView滑回BehindContentView。 最佳答案
我发现this listener接口正在遍历源代码。您可以像这样使用它:
mySlidingMenu.setOnOpenListener(new OnOpenListener() {
@override
public void onOpen() {
// Do something
}
});