mirror of
https://codeberg.org/anoncontributorxmr/mysu.git
synced 2024-11-22 15:32:24 +00:00
Add ReceiveFragment
This commit is contained in:
parent
82ed0f4409
commit
19f032699e
2 changed files with 59 additions and 0 deletions
|
@ -0,0 +1,52 @@
|
||||||
|
package net.mynero.wallet.fragment.receive;
|
||||||
|
|
||||||
|
import android.os.Bundle;
|
||||||
|
import android.view.LayoutInflater;
|
||||||
|
import android.view.View;
|
||||||
|
import android.view.ViewGroup;
|
||||||
|
import android.widget.Button;
|
||||||
|
|
||||||
|
import androidx.annotation.NonNull;
|
||||||
|
import androidx.annotation.Nullable;
|
||||||
|
import androidx.fragment.app.Fragment;
|
||||||
|
import androidx.lifecycle.ViewModelProvider;
|
||||||
|
import androidx.recyclerview.widget.LinearLayoutManager;
|
||||||
|
import androidx.recyclerview.widget.RecyclerView;
|
||||||
|
|
||||||
|
import net.mynero.wallet.R;
|
||||||
|
import net.mynero.wallet.adapter.CoinsInfoAdapter;
|
||||||
|
import net.mynero.wallet.fragment.dialog.SendBottomSheetDialog;
|
||||||
|
import net.mynero.wallet.model.CoinsInfo;
|
||||||
|
import net.mynero.wallet.service.AddressService;
|
||||||
|
import net.mynero.wallet.service.UTXOService;
|
||||||
|
import net.mynero.wallet.util.UriData;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.Collections;
|
||||||
|
|
||||||
|
public class ReceiveFragment extends Fragment {
|
||||||
|
|
||||||
|
private ReceiveViewModel mViewModel;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container,
|
||||||
|
@Nullable Bundle savedInstanceState) {
|
||||||
|
return inflater.inflate(R.layout.receive_bottom_sheet_dialog, container, false);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {
|
||||||
|
super.onViewCreated(view, savedInstanceState);
|
||||||
|
mViewModel = new ViewModelProvider(this).get(ReceiveViewModel.class);
|
||||||
|
bindListeners(view);
|
||||||
|
bindObservers(view);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void bindListeners(View view) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void bindObservers(View view) {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,7 @@
|
||||||
|
package net.mynero.wallet.fragment.receive;
|
||||||
|
|
||||||
|
import androidx.lifecycle.ViewModel;
|
||||||
|
|
||||||
|
public class ReceiveViewModel extends ViewModel {
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in a new issue