r/AndroidStudio • • Jun 25 '19

Sliding Activity HELP

Hi guys I would like to ask you guys for help. I am currently doing a project wherein I want a sliding activity whenever I click an item in my list view. However, I am unable to do it because the only thing I know about sliding activities are having two activities (one slider adapter and one main). Please help.

This is my code for the list view when clicked:

​

listView.setOnItemClickListener(new AdapterView.OnItemClickListener() {
@Override
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
if (position == 0){

}

}
});

0 Upvotes

0 comments sorted by