在我的项目中,我试图BaseExpandableListAdapter通过调用getAdapter()方法访问设置为ExpandableListView 的adapter().但getAdapter()回报android.widget.ExpandableListConnector.
这是我的代码
mExpandableListView.setAdapter(new ItemsExpListAdapter(navigationDrawerItems, getActivity()));
Log.e("adapter" , mExpandableListView.getAdapter().getClass().toString());
Run Code Online (Sandbox Code Playgroud)
我正在这样的logcat
我的API为每个HTTP请求都有一些验证机制.其中一个端点具有使用HTTP post方法加载图像的功能.post请求体将包含一个从服务器端验证的JSON对象.
为此我需要在http post请求体上包含这样的JSON.
{
"session_id": "someId",
"image_id": "some_id"
}
Run Code Online (Sandbox Code Playgroud)
我怎么能和毕加索一起做这件事?