File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
app/src/main/java/fr/free/nrw/commons/nearby/fragments Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 27
27
import androidx .constraintlayout .widget .ConstraintLayout ;
28
28
import androidx .fragment .app .FragmentManager ;
29
29
import androidx .fragment .app .FragmentTransaction ;
30
+ import androidx .recyclerview .widget .DividerItemDecoration ;
30
31
import androidx .recyclerview .widget .LinearLayoutManager ;
31
32
import androidx .recyclerview .widget .RecyclerView ;
32
33
@@ -210,6 +211,8 @@ public void initNearbyFilter() {
210
211
});
211
212
212
213
recyclerView .setHasFixedSize (true );
214
+ recyclerView .addItemDecoration (new DividerItemDecoration (getContext (),
215
+ DividerItemDecoration .VERTICAL ));
213
216
214
217
LinearLayoutManager linearLayoutManager = new LinearLayoutManager (getActivity ());
215
218
linearLayoutManager .setOrientation (LinearLayoutManager .VERTICAL );
You can’t perform that action at this time.
0 commit comments