Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug:未及时更新数据 #2

Open
mishaoshuai opened this issue Sep 21, 2017 · 3 comments
Open

bug:未及时更新数据 #2

mishaoshuai opened this issue Sep 21, 2017 · 3 comments

Comments

@mishaoshuai
Copy link

mishaoshuai commented Sep 21, 2017

如果只滑动前两个view,确定之后,不管第三个地区选的什么,都不会变,除非第三个地区也滑动了,才可以,解决方法:在updateAreas()方法中,添加mCurrentDistrictName = areas[0];
mCurrentZipCode = mZipcodeDatasMap.get(mCurrentDistrictName);解决

@mishaoshuai
Copy link
Author

补充:没有加台湾,我自己添加的

@mishaoshuai
Copy link
Author

    <city name="台北市" >

        <district
            name="其他"
            zipcode="999079" />
    </city>

    <city name="高雄市" >

        <district
            name="其他"
            zipcode="999079" />
    </city>

    <city name="基隆市" >

        <district
            name="其他"
            zipcode="999079" />
    </city>

    <city name="台中市" >

        <district
            name="其他"
            zipcode="999079" />
    </city>

    <city name="台南市" >

        <district
            name="其他"
            zipcode="999079" />
    </city>

    <city name="新竹市" >

        <district
            name="其他"
            zipcode="999079" />
    </city>

    <city name="嘉义市" >

        <district
            name="其他"
            zipcode="999079" />
    </city>

    <city name="台北县" >

        <district
            name="其他"
            zipcode="999079" />
    </city>

    <city name="宜兰县" >

        <district
            name="其他"
            zipcode="999079" />
    </city>

    <city name="新竹县" >

        <district
            name="其他"
            zipcode="999079" />
    </city>

    <city name="嘉义县" >

        <district
            name="其他"
            zipcode="999079" />
    </city>

    <city name="南投县" >

        <district
            name="其他"
            zipcode="999079" />
    </city>

    <city name="台中县" >

        <district
            name="其他"
            zipcode="999079" />
    </city>

    <city name="台南县" >

        <district
            name="其他"
            zipcode="999079" />
    </city>

    <city name="彰化县" >

        <district
            name="其他"
            zipcode="999079" />
    </city>

    <city name="苗栗县" >

        <district
            name="其他"
            zipcode="999079" />
    </city>

    <city name="桃园县" >

        <district
            name="其他"
            zipcode="999079" />
    </city>

    <city name="云林县" >

        <district
            name="其他"
            zipcode="999079" />
    </city>

    <city name="高雄县" >

        <district
            name="其他"
            zipcode="999079" />
    </city>

    <city name="屏东县" >

        <district
            name="其他"
            zipcode="999079" />
    </city>

    <city name="台东县" >

        <district
            name="其他"
            zipcode="999079" />
    </city>

    <city name="花莲县" >

        <district
            name="其他"
            zipcode="999079" />
    </city>

    <city name="澎湖县" >

        <district
            name="其他"
            zipcode="999079" />
    </city>
</province>

@mishaoshuai mishaoshuai changed the title 这么多人看你的博客和下载你的资源,都没发现有个错误。。。难道是我弄错了? bug:未及时更新数据 Sep 21, 2017
@xiaojidonggong
Copy link

感谢,我加上了这个代码。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants