// Path: app/src/main/java/com/konifar/annict/view/fragment/LoginFragment.java
// public class LoginFragment extends BaseFragment {
// 
//     @Inject
//     LoginViewModel viewModel;
// 
//     public static LoginFragment newInstance() {
//         return new LoginFragment();
//     }
// 
//     @Override
//     public void onAttach(Context context) {
//         super.onAttach(context);
//         getComponent().inject(this);
//     }
// 
//     @Nullable
//     @Override
//     public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container,
//         @Nullable Bundle savedInstanceState) {
//         FragmentLoginBinding binding = FragmentLoginBinding.inflate(inflater, container, false);
//         binding.setViewModel(viewModel);
//         return binding.getRoot();
//     }
// 
//     @Override
//     public void onDestroyView() {
//         super.onDestroyView();
//         viewModel.destroy();
//     }
// }


import com.konifar.annict.R;
import com.konifar.annict.databinding.ActivityLoginBinding;
import com.konifar.annict.view.fragment.LoginFragment;
import android.content.Context;
import android.content.Intent;
import android.databinding.DataBindingUtil;
import android.os.Bundle;
package com.konifar.annict.view.activity;



public class LoginActivity extends BaseActivity {

    private ActivityLoginBinding binding;

    public static Intent createIntent(Context context) {
        return new Intent(context, LoginActivity.class);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        binding = DataBindingUtil.setContentView(this, R.layout.activity_login);
        getComponent().inject(this);

// Path: app/src/main/java/com/konifar/annict/view/fragment/LoginFragment.java
// public class LoginFragment extends BaseFragment {
// 
//     @Inject
//     LoginViewModel viewModel;
// 
//     public static LoginFragment newInstance() {
//         return new LoginFragment();
//     }
// 
//     @Override
//     public void onAttach(Context context) {
//         super.onAttach(context);
//         getComponent().inject(this);
//     }
// 
//     @Nullable
//     @Override
//     public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container,
//         @Nullable Bundle savedInstanceState) {
//         FragmentLoginBinding binding = FragmentLoginBinding.inflate(inflater, container, false);
//         binding.setViewModel(viewModel);
//         return binding.getRoot();
//     }
// 
//     @Override
//     public void onDestroyView() {
//         super.onDestroyView();
//         viewModel.destroy();
//     }
// }


// Path: app/src/main/java/com/konifar/annict/view/activity/LoginActivity.java
import com.konifar.annict.R;
import com.konifar.annict.databinding.ActivityLoginBinding;
import com.konifar.annict.view.fragment.LoginFragment;
import android.content.Context;
import android.content.Intent;
import android.databinding.DataBindingUtil;
import android.os.Bundle;

package com.konifar.annict.view.activity;



public class LoginActivity extends BaseActivity {

    private ActivityLoginBinding binding;

    public static Intent createIntent(Context context) {
        return new Intent(context, LoginActivity.class);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        binding = DataBindingUtil.setContentView(this, R.layout.activity_login);
        getComponent().inject(this);

        replaceFragment(LoginFragment.newInstance(), R.id.content_view);