我无法理解为什么我的objFragment给了我支持经理的问题,我收到了这个错误:
Error:(101, 17) error: no suitable method found for replace(int,android.support.v4.app.Fragment)
method FragmentTransaction.replace(int,android.app.Fragment,String) is not applicable
(actual and formal argument lists differ in length)
method FragmentTransaction.replace(int,android.app.Fragment) is not applicable
(actual argument android.support.v4.app.Fragment cannot be converted to android.app.Fragment by method invocation conversion)
Run Code Online (Sandbox Code Playgroud)
而这正是在这条线上的objFragment上发生的: .replace(R.id.container, objFragment)
这是我的完整代码:
import android.app.ActionBar;
import android.app.Activity;
import android.app.FragmentManager;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.support.v4.widget.DrawerLayout;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.support.v4.app.Fragment;
/* public class MainActivity extends FragmentActivity {
public static FragmentManager fragmentManager;
@Override …Run Code Online (Sandbox Code Playgroud) 如何计算认证设备的FAR和FRR?(我假设使用的是生物识别技术).否则,他们对该主题的任何统计数据都很容易获得?