- 400 g mąki
- 250 ml wody
- 11 g soli
- 1-2 łyżki aktywnego zakwasu (opcjonalnie)
- 2 g świeżych drożdży
- do thermomixa: całą wodę, 1/4 mąki, całą sól
- włączyć wyrabianie ciasta, po 30 sekundach dorzucić całe drożdze
import 'package:flutter/material.dart'; | |
class ExpandablePageView extends StatefulWidget { | |
final List<Widget> children; | |
const ExpandablePageView({ | |
Key key, | |
@required this.children, | |
}) : super(key: key); |
Verifying my Blockstack ID is secured with the address 1CuVJaDmpGSZQn2ZagU9T2ysabMKXYW4cE https://explorer.blockstack.org/address/1CuVJaDmpGSZQn2ZagU9T2ysabMKXYW4cE |
interface RepositoryRowView { | |
void setTitle(String title); | |
void setStarCount(int starCount); | |
} |
public class RepositoriesListPresenter { | |
private final List<Repository> repositories; | |
... | |
public void onBindRepositoryRowViewAtPosition(int position, RepositoryRowView rowView) { | |
Repository repo = repositories.get(position); | |
rowView.setStarCount(repo.getStarsCount()); | |
rowView.setTitle(repo.getTitle()); |
public class RepositoryViewHolder extends RecyclerView.ViewHolder implements RepositoryRowView { | |
TextView titleTextView; | |
TextView starsCountTextView; | |
public RepositoryViewHolder(View itemView) { | |
super(itemView); | |
titleTextView = itemView.findViewById(R.id.repoTitleText); | |
starsCountTextView = itemView.findViewById(R.id.repoStarsCountText); | |
} |
public class RepositoriesRecyclerAdapter extends RecyclerView.Adapter<RepositoriesRecyclerAdapter.RepoViewHolder> { | |
private final RepositoriesListPresenter presenter; | |
public RepositoriesRecyclerAdapter(RepositoriesListPresenter repositoriesPresenter) { | |
this.presenter = repositoriesPresenter; | |
} | |
@Override | |
public RepositoryViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { |
public class GetUserDetailsUsecase { | |
private final DB db; | |
@Inject public GetUserDetailsUsecase(DB db) { | |
this.db = db; | |
} | |
public Observable<UserDetails> getUserDetails() { | |
return Observable.create(new Observable.OnSubscribe<UserDetails>() { |
public abstract class BaseActivity<M extends Serializable, V extends DroidMVPView, P extends DroidMVPPresenter<V, M>> | |
extends DroidMVPActivity<M, V, P> { | |
@Inject protected P presenter; | |
@NonNull @Override protected P createPresenter() { | |
//this field will be populated by field injeciton from dagger | |
// your presenter should not accept the presentationModel as its constructor's paramteter. | |
// Instead, it will be provided to your presenter in #attachView method. | |
return presenter; | |
} |