导航抽屉始终打开默认视图

时间:2015-12-01 00:38:38

标签: android

enter image description here

我是初学者。我有开发项目 后来我的大四。我在抽屉菜单中添加了其他片段的视图。当切换视图时,它总是将我带到默认视图之前,现在我无法更改或删除此默认值。抱歉我的英文不好,谢谢

package main

import (
    "fmt"
    "bufio"
    "os"
    "strconv"
)

func main() {
    fmt.Print("loaded\n")
    var xInp = bufio.NewScanner(os.Stdin) 
    var yInp = bufio.NewScanner(os.Stdin)

    fmt.Print("insert y value: ")
    yInp.Scan()
    fmt.Print("Insert x value: ")
    xInp.Scan()

    q, err := strconv.Atoi(yInp.Text())
    w, err := strconv.Atoi(xInp.Text())

    var slope = q/w
    fmt.Print(slope)
    fmt.Print(err)
}

0 个答案:

没有答案
相关问题