Eloy ID:217868 复制

Eloy

安卓开发工程师 · 2年经验 · 安卓开发
城市成都 高新 日薪500元/8h 时间 下班后周六周日
0
累计接单
0
用户评价
0
被收藏

技术能力

暂无技能标签
能够熟练控制线程, 使用线程通信控制app
熟悉activity,service结构和过程
了解并熟悉内存分配和垃圾回收机制,能够合理的控制app的内存抖动。
能够熟练的控制不同层级view之间的事件分发。

项目经验

启动页面:

/**
*启动页面
*
*@version 0.0.01
*@date 2019-8-15
*@author eloy
*/

public class Splash extends AppCompatActivity{

/**
*在此存放每个activity的根布局(如果用户使用某些手段绕过splah activity,直接启动主页面会导致程序崩溃)
*/
public static final ArrayList<View> rootView = new ArrayList<View>();

private void init(){

//添加splash页面view
View splah = getLayoutInflator.inflate(R.layout.splash, null);
rootView.add(splash);

//添加main页面view
View main = getLayoutInflator.inflate(R.layout.main, null);
rootView.add(main);
}

protected void onCreate(Bundle savedInstanceState){
super.onCreate(savedInstanceState);
setContentView(Splah.rootView.get(0));
initView();
//....
}

/**
*跳转到main页面
*/
private void jump(){
new CountDownTimer(){
@Override
onTick(long remain){

}
@Override
onFinish(){
startActivity(new Intent(Splash.this, Main,class));
finish();
}
}.start();
}

/**
*自写一个CountDownTimer
*/
private static abstract class CountDownTimer extends Thread{
private long count = 0L;
private long period = 1000L;
CountDownTimer(long count){
this.count = count;
}

CountDownTimer(long count,long period ){
this.count = count;
this.period=period;
}

public abstract void onTick(long remain);

public abstract void onFinish();

@Override
public void cancel(){
super.cancel();
this.interrupt();
}

@Override
public synchronized void run(){
super.run();
while(!interrupted() && count>0){
long start = System.currentTimeMills();
count
客服二维码

没找到合适的人才?

扫码添加客服极速匹配,或直接发布需求让更多人才主动报名

微信沟通 立即沟通 立即预约
平台担保交易 · 1小时内不满意可退款
微信扫码,建群沟通

平台信誉与实力

基于 35,336 需求方信任

  • 支付宝企业信用分 优秀 评级
  • 市场份额约占全行业三分之一
  • 程序员兼职行业全能首选平台
查看平台资质详情
相似人才推荐: