mirror of
https://github.com/MinimalBible/MinimalBible
synced 2025-07-12 03:04:43 -04:00
Slight edits
Scrolling is nice and quick Animations aren't great, but what I'm trying to do might actually be possible... I can actually remove the JS code.
This commit is contained in:
@ -22,8 +22,10 @@ import javax.inject.Named;
|
||||
|
||||
import butterknife.ButterKnife;
|
||||
import butterknife.InjectView;
|
||||
import rx.Observable;
|
||||
import rx.android.schedulers.AndroidSchedulers;
|
||||
import rx.functions.Action1;
|
||||
import rx.schedulers.Schedulers;
|
||||
import rx.subjects.PublishSubject;
|
||||
|
||||
/**
|
||||
@ -98,7 +100,8 @@ public class BookFragment extends BaseFragment {
|
||||
Log.d("BookFragment", b.getName());
|
||||
((BibleViewer)getActivity()).setActionBarTitle(b.getInitials());
|
||||
|
||||
bookContent.setLayoutManager(new LinearLayoutManager(getActivity()));
|
||||
final RecyclerView.LayoutManager manager = new LinearLayoutManager(getActivity());
|
||||
bookContent.setLayoutManager(manager);
|
||||
bookContent.setAdapter(new BookAdapter(b));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user