Skip to content

Instantly share code, notes, and snippets.

Avatar

J1aDong J1aDong

View GitHub Profile
View gist:9a2c71e565ab6452c2facfbe23733d69
LinearLayoutManager linearLayoutManager = new LinearLayoutManager(context) {
@Override
public boolean canScrollVertically() {
return false;
}
};
recyclerview.setLayoutManager(linearLayoutManager);